CVE-2026-48775

LangGraph Checkpoint: Unsafe JSON deserialization in checkpoint loading

State
Published
Severity
6.8 Medium
Published
Jun 16, 2026
Updated
Jun 16, 2026
Reserved
May 22, 2026

Read the record on cve.org

Description

LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). In versions 4.1.0 and prior, the JsonPlusSerializer can reconstruct Python objects from JSON checkpoint payloads. Under conditions where someone could modify checkpoint bytes at rest in the backing store, the deserialization path could reconstruct objects beyond what the application expects, which could in turn result in code execution at checkpoint load time. This is a defense-in-depth issue. The affected behavior is reachable only when checkpoint bytes at rest in the backing store can be modified by an unauthorized party. In most deployments that prerequisite already implies a serious incident; the additional concern is turning "checkpoint-store write access" into code execution in the application runtime. This issue has been fixed in version 4.1.1.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-502 Deserialization of Untrusted Data
  • CWE-913 Improper Control of Dynamically-Managed Code Resources

Affected Products

ProductVersions
langgraphlangchain-ai
  • < 1.2.2Affected
langraph-checkpointlangchain-ai
  • < 4.1.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.