6.0Medium

CVE-2026-115883LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite stores

langchain-ai langgraph; langchain-ai langgraph-checkpoint-postgres; langchain-ai langgraph-checkpoint-sqlite Published: (27 days ago)

Description

LangGraph checkpoint savers provide Postgres- and SQLite-backed state persistence for LangGraph workflows and agents. Prior to langgraph-checkpoint-postgres 3.1.3 and langgraph-checkpoint-sqlite 3.1.2, PostgresStore, AsyncPostgresStore, SqliteStore, and AsyncSqliteStore flatten namespace labels with ".".join(namespace), while BaseStore validates labels only for put and aput. Unvalidated dotted labels passed through get, search, delete, list_namespaces, their asynchronous equivalents, or direct batch and abatch operations can resolve to another tenant's stored namespace, allowing cross-namespace reads, overwrites, or deletion. InMemoryStore is not affected because it compares namespace tuples. This issue is fixed in langgraph-checkpoint-postgres 3.1.3 and langgraph-checkpoint-sqlite 3.1.2.

Weakness (CWE): CWE-20CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
langchain-ai langgraph < 1.2.15
langchain-ai langgraph-checkpoint-postgres < 3.1.3
langchain-ai langgraph-checkpoint-sqlite < 3.1.2

References and patches