LangGraph Checkpoint: Unsafe JSON deserialization in checkpoint loading
CVE-2026-48775 · GHSA-fjqc-hq36-qh5p · published 2026-06-25
- Severity
- Medium
- CVSS score
- 6.8
- Chance of exploitation (EPSS)
- 0.23%
- Fixed in
- 4.1.1
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
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.
Upgrade langgraph-checkpoint to 4.1.1 or later.
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.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langgraph-checkpoint | PyPI | < 4.1.1 | 4.1.1 |
- 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
- HighLangGraph Checkpoint affected by RCE in "json" mode of JsonPlusSerializerlanggraph-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.