{"schemaVersion":4,"id":"CVE-2026-27794","aliases":["GHSA-mhr3-j7m5-c7c9","PYSEC-2026-2574"],"status":"published","duplicateOf":null,"title":"LangGraph: BaseCache Deserialization of Untrusted Data may lead to Remote Code Execution","description":"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.","dates":{"published":"2026-02-25T16:53:47.176Z","modified":"2026-02-25T21:00:24.430Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":1.8,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00855,"percentile":0.59618,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.019000000000000093,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00836},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00698,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0096,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.011,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.011,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00855,"percentile":0.59618}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00836,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01262,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00855,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00855,"percentile":0.59618}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"langchain-ai","product":"langgraph-checkpoint","name":"langgraph-checkpoint","label":"langgraph-checkpoint","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.0.0","endInclusive":false}}],"versionsText":"< 4.0.0","eol":null,"hubHref":"/vendor/langchain-ai/langgraph-checkpoint"},{"vendor":"PyPI","product":"langgraph-checkpoint","name":"langgraph-checkpoint","label":"langgraph-checkpoint","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langgraph-checkpoint","purlType":"pypi","versions":[{"text":"< 4.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.0.0","endInclusive":false}}],"versionsText":"< 4.0.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langchain-ai/langgraph/security/advisories/GHSA-mhr3-j7m5-c7c9","label":"github.com/langchain-ai/langgraph/security/advisories/GHSA-mhr3-j7m5-c7c9","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/langchain-ai/langgraph/pull/6677","label":"github.com/langchain-ai/langgraph/pull/6677","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/langchain-ai/langgraph/commit/f91d79d0c86932ded6e3b9f195d5a0bbd5aef99c","label":"github.com/langchain-ai/langgraph/commit/f91d79d0c86932ded6e3b9f195d5a0bbd5aef99c","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/langchain-ai/langgraph/releases/tag/checkpoint%3D%3D4.0.0","label":"github.com/langchain-ai/langgraph/releases/tag/checkpoint%3D%3D4.0.0","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27794","label":"nvd.nist.gov/vuln/detail/CVE-2026-27794","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/langchain-ai/langgraph","label":"github.com/langchain-ai/langgraph","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/langgraph-checkpoint","label":"pypi.org/project/langgraph-checkpoint","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-mhr3-j7m5-c7c9","label":"github.com/advisories/GHSA-mhr3-j7m5-c7c9","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-02-25T16:53:47.176Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-25T21:00:24.430Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,66],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00855,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-02-25T21:00:24.430Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2026-02-25T21:00:24.430Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-02-25T21:00:24.430Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-02-25T21:00:12.555Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00855,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:21:23.155Z","stale":false,"partial":false}}