Skip to content
MediumVulnerability

GHSA-mhr3-j7m5-c7c9: LangGraph: BaseCache Deserialization of Untrusted Data may lead to Remote Code Execution

Published
Record updated
View JSON
Affected
  • langgraph-checkpoint < 4.0.0
Fixed in
4.0.0
  • released January 12, 2026, 44 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

LangGraph's caching layer can deserialize attacker-controlled cache entries with pickle.loads when msgpack serialization fails. Before langgraph-checkpoint 4.0.0, BaseCache defaults to JsonPlusSerializer(pickle_fallback=True), so exploitation leads to remote code execution in the LangGraph process. Exploitation requires that caching is enabled and that the attacker can write to the cache backend, making it a post-compromise escalation vector.

Mitigation

Upgrade to langgraph-checkpoint>=4.0.0.