UTC
High

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
What it is

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.

What to do

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 ---

If you cannot upgrade yet

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.

Affected
PackageRegistryAffectedFixed in
langgraph-checkpointPyPI< 3.0.03.0.0

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.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].