{"id":"CVE-2025-64439","published":"2025-11-07T20:15:21Z","modified":"2025-11-07T20:21:52Z","title":"LangGraph Checkpoint affected by RCE in \"json\" mode of JsonPlusSerializer","vendor":"langchain-ai","product":"langgraph","tier":"tail","description":{"text":"LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). In versions 2.1.2 and below, the JsonPlusSerializer (used as the default serialization protocol for all checkpointing) contains a Remote Code Execution (RCE) vulnerability when deserializing payloads saved in the \"json\" serialization mode. By default, the serializer attempts to use \"msgpack\" for serialization. However, prior to version 3.0 of the checkpointer library, if illegal Unicode surrogate values caused serialization to fail, it would fall back to using the \"json\" mode. This issue is fixed in version 3.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00895,"percentile":0.60411,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/langchain-ai/langgraph/security/advisories/GHSA-wwqv-p2pp-99h5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/langchain-ai/langgraph/commit/c5744f583b11745cd406f3059903e17bbcdcc8ac","tags":["x_refsource_MISC"]},{"url":"https://github.com/langchain-ai/langgraph/blob/c5744f583b11745cd406f3059903e17bbcdcc8ac/libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py","tags":["x_refsource_MISC"]},{"url":"https://github.com/langchain-ai/langgraph/releases/tag/checkpoint%3D%3D3.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":12.08},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"langchain-ai","affectedVersions":[{"vendor":"langchain-ai","product":"langgraph","versions":["< 3.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-07T20:21:40.598293Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langgraph-checkpoint","vulnerableRanges":["<3.0.0"],"patched":["3.0.0"],"from":["GHSA-wwqv-p2pp-99h5","PYSEC-2026-1527"],"provenance":"source"}],"summary":{"text":"The LangGraph checkpoint component of langchain-ai's langgraph, specifically the SQLite checkpointer's JsonPlusSerializer, contains a deserialization flaw in its \"json\" serialization mode, which is reached as a fallback when msgpack serialization fails on illegal Unicode surrogate values. An attacker with low-privilege authenticated access who can get a crafted payload stored in the checkpoint database can cause remote code execution when it is deserialized, with the attack conditions dependent on the attacker's ability to write checkpoint data and no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:10Z"},"euvd":{"id":"EUVD-2025-37934","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-langchain-ai-langgraph-cve-2025-8709","children":[{"from":"CVE-2025-64439","to":"CVE-2025-67644","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py","libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py"],"commits":["https://github.com/langchain-ai/langgraph/commit/c5744f583b11745cd406f3059903e17bbcdcc8ac","https://github.com/langchain-ai/langgraph/commit/297242913f8ad2143ee3e2f72e67db0911d48e2a"],"basis":"shared function","functions":["alist","list"]}]}]}}