Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-71433 EUVD-2026-54227GHSA-47pj-3jcm-6whgPYSEC-2026-3635PYSEC-2026-3636

LangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite stores

Published Aug 6, 2026 · Updated Aug 7, 2026 · Assigned by GitHub_M

Description

LangGraph 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.

Affected products

VendorProductAffectedFixed
langchain-ai langgraph < 3.1.1 —
langchain-ai langgraph-checkpoint-sqlite < 3.1.1 —
langchain-ai langgraph-checkpoint-postgres < 3.1.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langgraph-checkpoint-postgres < 3.1.1 3.1.1 GHSA-47pj-3jcm-6whg
PyPI langgraph-checkpoint-sqlite < 3.1.1 3.1.1 GHSA-47pj-3jcm-6whg

References