LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite stores
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.2.15, 3.1.3, 3.1.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The affected software is the Postgres and SQLite state-persistence stores (PostgresStore, AsyncPostgresStore, SqliteStore, and AsyncSqliteStore) in LangGraph's checkpoint libraries, used by LangGraph workflows and agents. A crafted namespace label containing a dot can make a request reach another namespace's stored data, allowing an attacker to read, overwrite, or delete data belonging to other tenants.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- langchain-ai langgraph
fixed in 1.2.15
- langchain-ai langgraph-checkpoint-postgres
fixed in 3.1.3
- langchain-ai langgraph-checkpoint-sqlite
fixed in 3.1.2
- langgraph-checkpoint-postgresPyPI
fixed in 3.1.3
- langgraph-checkpoint-sqlitePyPI
fixed in 3.1.2