langgraph-checkpoint

CVE-2026-48775

CVE-2026-48775 is a medium-severity insecure deserialization vulnerability in langgraph-checkpoint (pip), affecting versions < 4.1.1. It is fixed in 4.1.1.

Key facts
CVSS score
6.8
Medium
Attack vector
Adjacent
Issuing authority
GitHub Advisory Database
Affected package
langgraph-checkpoint
Fixed in
4.1.1
Disclosed
2026

Summary

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).

Impact

What is insecure deserialization?

Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect. Typical impact: arbitrary code execution or logic abuse.

Severity and exposure

CVE-2026-48775 has a CVSS score of 6.8 (Medium). The vector is reachable from an adjacent network, high privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (4.1.1). Upgrading removes the vulnerable code path.

Affected versions

pip

  • langgraph-checkpoint (< 4.1.1)

Security releases

  • langgraph-checkpoint → 4.1.1 (pip)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's Application Detection and Response identifies whether CVE-2026-48775 is reachable in your applications. Explore runtime application protection for your team.

See if CVE-2026-48775 is reachable in your applications. Get a demo

Already deployed Kodem? See CVE-2026-48775 in your environment

Remediation advice

Upgrade langgraph-checkpoint to 4.1.1 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2026-48775

What is CVE-2026-48775?

CVE-2026-48775 is a medium-severity insecure deserialization vulnerability in langgraph-checkpoint (pip), affecting versions < 4.1.1. It is fixed in 4.1.1. Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect.

How severe is CVE-2026-48775?

CVE-2026-48775 has a CVSS score of 6.8 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of langgraph-checkpoint are affected by CVE-2026-48775?

langgraph-checkpoint (pip) versions < 4.1.1 is affected.

Is there a fix for CVE-2026-48775?

Yes. CVE-2026-48775 is fixed in 4.1.1. Upgrade to this version or later.

Is CVE-2026-48775 exploitable, and should I be worried?

Whether CVE-2026-48775 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2026-48775 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2026-48775?

Upgrade langgraph-checkpoint to 4.1.1 or later.

Stop the waste.
Protect your environment with Kodem.