PyPI: langgraph

CVE-2026-28277

Safety vulnerability ID: SFTY-20260305-16295

Safety legacy ID: pyup.io-88438

Affected versions of the langgraph package are vulnerable to Deserialization of Untrusted Data due to unsafe msgpack checkpoint deserialization that can reconstruct Python objects from attacker-controlled checkpoint bytes. LangGraph checkpointers load msgpack-encoded checkpoints from the persistence layer, and when checkpoint data is tampered with, the checkpoint loading process can deserialize crafted payloads that trigger unsafe object reconstruction during resume operations.

Created at: Apr 21, 2026Updated at: Apr 21, 2026

Overview

LangGraph checkpoint loading has unsafe msgpack deserialization

Advisory

Affected versions of the langgraph package are vulnerable to Deserialization of Untrusted Data due to unsafe msgpack checkpoint deserialization that can reconstruct Python objects from attacker-controlled checkpoint bytes. LangGraph checkpointers load msgpack-encoded checkpoints from the persistence layer, and when checkpoint data is tampered with, the checkpoint loading process can deserialize crafted payloads that trigger unsafe object reconstruction during resume operations.

Affected Package

Affecting langgraph package, versions
<=1.0.9

Also affects

---

How to Fix

Upgrade
langgraph
to
1.0.10rc1
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more