LangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite stores
cve-program · CVE-2026-71433
PublishedLangGraph Checkpoint Postgres and SQLite Checkpoint are the Postgres and SQLite implementations of LangGraph's checkpoint saver. Prior to 3.1.1, the langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite packages persisted hierarchical namespaces as a dot joined string and scoped reads by matching that string as a simple prefix pattern, so a read scoped to one namespace could also match a sibling namespace whose flattened form shares the same leading characters, or a namespace label containing unescaped pattern metacharacters, allowing an authenticated caller to retrieve stored items belonging to another tenant or user through an ordinary scoped search or list namespaces call, with no crafted input required. This issue is fixed in versions 3.1.1 of langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-71433 · CVE overview and exploitation status
cve-program · CVE-2026-71433
- https://github.com/langchain-ai/langgraph/security/advisories/GHSA-47pj-3jcm-6whg
- https://github.com/langchain-ai/langgraph/pull/8478
- https://github.com/langchain-ai/langgraph/commit/66ebe1a0da921e73f0f9f879ba105d314c079f7c
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointpostgres%3D%3D3.1.1
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D3.1.1
Related changes
Linked by CVE identifierNo related changes are available here.