CVE-2026-48775: LangChain LangGraph unsafe deserialization in JsonPlusSerializer

CVE-2026-48775 · Severity: medium · CVSS 6.8 · Published 2026-06-16

LangGraph is a library used to build stateful multi-agent applications with LLMs. A vulnerability in how it handles saved application states (checkpoints) could allow an attacker with write access to the database or storage layer to execute malicious code. This could lead to a full takeover of the application worker process and exposure of sensitive runtime secrets.

Technologies: langgraph-checkpoint (PyPI). Vendors: LangChain, PyPI.

Quick answers

Is CVE-2026-48775 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-48775 being exploited in the wild.
How severe is CVE-2026-48775?
Medium severity, with a CVSS score of 6.8, published 16 June 2026.
Which products and versions are affected?
LangChain Langgraph-Checkpoint < 4.1.1, <= 4.1.0; langgraph-checkpoint (PyPI) ECOSYSTEM:introduced=0,fixed=4.1.1.
Is there a fix for CVE-2026-48775?
Yes. langgraph-checkpoint (PyPI): upgrade to 4.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-48775 attacked?
It is attacked from the adjacent network, in a software library.
Am I affected by CVE-2026-48775?
Check whether you run LangChain Langgraph-Checkpoint or langgraph-checkpoint (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • langgraph-checkpoint (PyPI): upgrade to 4.1.1 or later
    pip install "langgraph-checkpoint>=4.1.1"

Technical details

The vulnerability exists in the `JsonPlusSerializer` component of LangGraph, which is used by default in persistent checkpointers like `PostgresSaver` and `SqliteSaver`. The serializer's deserialization path (CWE-502) could be manipulated to reconstruct arbitrary Python objects (CWE-913) from JSON payloads. An attacker who gains write access to the backing checkpoint store can inject malicious payloads that trigger arbitrary code execution when the application loads or resumes a checkpoint. The fix in version 4.1.1 restricts object reconstruction to a narrow set of safe default constructors.

Affected products

  • langchain-ai langgraph-checkpoint < 4.1.1

Identifiers

  • CVE-2026-48775
  • GHSA-fjqc-hq36-qh5p
  • PYSEC-2026-2573

Timeline

  • 2026-05-22: disclosed
  • 2026-06-16: advisory: NVD publication date
  • 2026-06-25: patched: GitHub Advisory reviewed and updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.