Home / langchain-ai / langgraph-checkpoint / CVE-2026-27794
CVE-2026-27794: is it exploited, and which versions of langchain-ai langgraph-checkpoint are affected and fixed?
CVE-2026-27794 is a deserialization of untrusted data vulnerability in langchain-ai langgraph-checkpoint. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: langgraph-checkpoint before 4.0.0 (GitHub advisory GHSA-mhr3-j7m5-c7c9). Fixed in 4.0.0 (GitHub advisory GHSA-mhr3-j7m5-c7c9). Severity: Medium (6.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-27794?
LangGraph: BaseCache Deserialization of Untrusted Data may lead to Remote Code Execution
LangGraph Checkpoint defines the base interface for LangGraph checkpointers. Prior to version 4.0.0, a Remote Code Execution vulnerability exists in LangGraph's caching layer when applications enable cache backends that inherit from `BaseCache` and opt nodes into caching via `CachePolicy`. Prior to `langgraph-checkpoint` 4.0.0, `BaseCache` defaults to `JsonPlusSerializer(pickle_fallback=True)`. When msgpack serialization fails, cached values can be deserialized via `pickle.loads(...)`. Caching is not enabled by default. Applications are affected only when the application explicitly enables a cache backend (for example by passing `cache=...` to `StateGraph.compile(...)` or otherwise configuring a `BaseCache` implementation), one or more nodes opt into caching via `CachePolicy`, and the attacker can write to the cache backend (for example a network-accessible Redis instance with weak/no auth, shared cache infrastructure reachable by other tenants/services, or a writable SQLite cache file). An attacker must be able to write attacker-controlled bytes into the cache backend such that the LangGraph process later reads and deserializes them. This typically requires write access to a networked cache (for example a network-accessible Redis instance with weak/no auth or shared cache infrastructure reachable by other tenants/services) or write access to local cache storage (for example a writable SQLite cache file via permissive file permissions or a shared writable volume). Because exploitation requires write access to the cache storage layer, this is a post-compromise / post-access escalation vector. LangGraph Checkpoint 4.0.0 patches the issue.
From the CVE record by GitHub_M, last updated February 25, 2026, 21:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| langchain-ai | langgraph-checkpoint | < 4.0.0 |
As the CVE record by GitHub_M states it, last updated February 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | langgraph-checkpoint | < 4.0.0 | 4.0.0 | GHSA-mhr3-j7m5-c7c9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 25, 2026. Summary: LangGraph: BaseCache Deserialization of Untrusted Data may lead to Remote Code Execution.
How severe is CVE-2026-27794?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27794 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 25, 2026)
- EPSS
- 0.85% probability of exploitation activity in the next 30 days, percentile 59.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://github.com/langchain-ai/langgraph/security/advisories/GHSA-mhr3-j7m5-c7c9 x_refsource_CONFIRM
- https://github.com/langchain-ai/langgraph/pull/6677 x_refsource_MISC
- https://github.com/langchain-ai/langgraph/commit/f91d79d0c86932ded6e3b9f195d5a0bbd5aef99c x_refsource_MISC
- https://github.com/langchain-ai/langgraph/releases/tag/checkpoint%3D%3D4.0.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 24, 2026
- Published
- February 25, 2026, 16:53 UTC
- CVE record updated
- February 25, 2026, 21:00 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:27 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-27794
Is CVE-2026-27794 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.85% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of langchain-ai langgraph-checkpoint are affected by CVE-2026-27794?
langgraph-checkpoint before 4.0.0, per the GitHub advisory GHSA-mhr3-j7m5-c7c9. The tables above give every range the sources list.
Which version fixes CVE-2026-27794?
4.0.0, per the GitHub advisory GHSA-mhr3-j7m5-c7c9. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27794?
Medium (6.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27794?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.