LangGraph Checkpoint affected by RCE in "json" mode of JsonPlusSerializer
CVE-2025-64439 · GHSA-wwqv-p2pp-99h5 · published 2025-11-05 · updated 2025-11-07
- Severity
- High
- CVSS score
- 7.4
- Chance of exploitation (EPSS)
- 0.90%
- Fixed in
- 3.0.0
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Prior to langgraph-checkpoint version 3.0 , LangGraph’s 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. If an attacker can cause your application to persist a payload serialized in this mode, they may be able to also send malicious content that executes arbitrary Python code during deserialization. Upgrading to version langgraph-checkpoint 3.0 patches this vulnerability by preventing deserialization of custom objects saved in this mode. If you are deploying in langgraph-api, any version 0.5 or later is also free of this vulnerability.
Upgrade langgraph-checkpoint to 3.0.0 or later.
The vulnerability is fixed in langgraph-checkpoint==3.0.0 Release link: https://github.com/langchain-ai/langgraph/releases/tag/checkpoint%3D%3D3.0.0 ---
Upgrade immediately to langgraph-checkpoint==3.0.0. This version is fully compatible with langgraph>=0.3 and does not require any import changes or code modifications. In langgraph-api, updating to 0.5 or later will automatically require the patched version of the checkpointer library.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langgraph-checkpoint | PyPI | < 3.0.0 | 3.0.0 |
- CriticalLMDeploy has Remote Code Execution by Pickle Deserialization via handle_zmq_recv in lmdeploy/lmdeploy/pytorch/disagg/conn/engine_conn.pylmdeploy
- CriticalLMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploylmdeploy
- CriticalSGLang: Unauthenticated RCE via --enable-custom-logit-processorsglang
- CriticalSGLanG: Multimodal scheduler deserializes untrusted pickle data on 0.0.0.0 ROUTER socketsglang
- Criticaln8n: HTTP Request Node Pagination Prototype Pollution to RCEn8n, n8n, n8n
- Criticaln8n Has an XML Node Prototype Pollution Patch Bypassn8n, n8n, n8n
- MediumLangGraph Checkpoint: Unsafe JSON deserialization in checkpoint loadinglanggraph-checkpoint
- MediumLangGraph: BaseCache Deserialization of Untrusted Data may lead to Remote Code Executionlanggraph-checkpoint
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.