CVE-2026-48775: LangGraph Checkpoint: Unsafe JSON deserialization in checkpoint loading

Published Jun 16, 2026
·
Updated

Summary

LangGraph's JsonPlusSerializer can reconstruct Python objects from JSON checkpoint payloads. Under conditions where someone could modify checkpoint bytes at rest in the backing store, the deserialization path could reconstruct objects beyond what the application expects, which could in turn result in code execution at checkpoint load time.

This is a defense-in-depth issue. The affected behavior is reachable only when checkpoint bytes at rest in the backing store can be modified by an unauthorized party. In most deployments that prerequisite already implies a serious incident; the additional concern is turning "checkpoint-store write access" into code execution in the application runtime.

There is no evidence of this behavior being triggered in the wild, and the team is not aware of a practical path to it in existing deployments today. This change is intended to reduce the surface available after a checkpoint-store incident.

Affected users / systems

Users may be affected if they:

- use a persistent checkpointer (database, remote store, shared filesystem, etc.) with the default JsonPlusSerializer, - load/resume from checkpoints, and - operate in an environment where write access to the checkpoint store could be obtained by an unauthorized party.

The default checkpoint serializer in all shipped checkpointer backends (PostgresSaver, SqliteSaver, and their async counterparts) is JsonPlusSerializer, so applications generally do not need to opt in to be in scope.

Impact

- Potential arbitrary code execution or other unsafe side effects during checkpoint deserialization. - Escalation from "write access to the checkpoint store" to "code execution in the LangGraph worker process," which may expose runtime secrets or provide access to other systems the runtime can reach.

Patches / mitigation

The JSON deserialization path has been narrowed so that revival is restricted to default-constructor reconstruction using the args/kwargs carried in the payload. The framework's own encoder has not relied on the removed behavior for produced checkpoints since the msgpack migration, so this change does not affect freshly written checkpoints. Legacy payloads that already used the default constructor as their first option continue to revive correctly via that same path.

Compatibility

A narrow legacy-resume regression applies to pre-October-2025 checkpoints of pydantic models where the original payload depended on a no-validation fallback factory to recover from incompatible schema evolution. After this change, such payloads return None from the revival path and fall through to the langchain-core reviver, which surfaces the raw dict rather than reconstructing the model.

Operational guidance

- Treat checkpoint stores as integrity-sensitive. Restrict write access and rotate credentials if unauthorized access is suspected. - Avoid providing custom JSON revival hooks that reconstruct arbitrary types unless checkpoint data is fully trusted.

LangSmith / hosted deployments note

The team is not aware of this issue presenting concern for existing LangSmith-hosted deployments. The described conditions require modification of the checkpoint persistence layer used by the deployment; typical hosted configurations are designed to prevent such access.

First reported by: pucagit (CyStack).

Other sources

LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). In versions 4.1.0 and prior, the JsonPlusSerializer can reconstruct Python objects from JSON checkpoint payloads. Under conditions where someone could modify checkpoint bytes at rest in the backing store, the deserialization path could reconstruct objects beyond what the application expects, which could in turn result in code execution at checkpoint load time. This is a defense-in-depth issue. The affected behavior is reachable only when checkpoint bytes at rest in the backing store can be modified by an unauthorized party. In most deployments that prerequisite already implies a serious incident; the additional concern is turning "checkpoint-store write access" into code execution in the application runtime. This issue has been fixed in version 4.1.1.

MITRE

Affected Software

3 affected componentsFixes available
pypi/langgraph<=4.1.0
Langchain Langgraph-checkpoint Python<4.1.1
pip/langgraph-checkpoint<4.1.1
4.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/langgraph-checkpoint to a version that resolves this vulnerability.

    Fixed in 4.1.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.1.1
  3. Configuration

    Apply the fix by upgrading to LangGraph version 4.1.1 so that JsonPlusSerializer no longer reconstructs arbitrary Python objects from JSON checkpoint payloads; revival is restricted to default-constructor reconstruction using the args/kwargs carried in the payload.

    LangGraph checkpoint serializer (JsonPlusSerializer) object revival behavior = restrict revival to default-constructor reconstruction using args/kwargs in the payload (narrow JSON deserialization path)
  4. Compensating control

    Treat the checkpoint store as integrity-sensitive: restrict write access to the checkpoint persistence layer so an unauthorized party cannot modify checkpoint bytes at rest.

  5. Operational

    If checkpoint-store write access is suspected to have been obtained by an unauthorized party, rotate any runtime secrets/credentials that may have been exposed as a result of checkpoint load-time compromise.

Event History

Jun 16, 2026
CVE Published
via MITRE·05:53 PM
Data Sourced
via MITRE·05:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software
Jun 25, 2026
Advisory Published
via GitHub·06:25 PM
Data Sourced
via GitHub·06:25 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-48775?

The severity of CVE-2026-48775 is rated medium, with a score of 6.8.

2

What vulnerability is described by CVE-2026-48775?

CVE-2026-48775 describes an unsafe JSON deserialization issue in LangGraph Checkpoint, which could allow unauthorized Python object reconstruction.

3

How do I fix CVE-2026-48775?

To fix CVE-2026-48775, upgrade to LangGraph version 4.1.1 or later, which addresses the unsafe JSON deserialization.

4

Which software is affected by CVE-2026-48775?

CVE-2026-48775 affects the LangGraph SQLite Checkpoint implementation found in versions 4.1.0 and prior.

5

What potential risk does CVE-2026-48775 pose?

CVE-2026-48775 poses a risk of SQL injection due to improper handling of checkpoint payloads allowing for malicious object manipulation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203