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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| langchain-ai | langgraph | < 1.2.15 | — |
| langchain-ai | langgraph-checkpoint-postgres | < 3.1.3 | — |
| langchain-ai | langgraph-checkpoint-sqlite | < 3.1.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | langgraph-checkpoint-postgres | < 3.1.3 | 3.1.3 | GHSA-6hmw-9432-67qq |
| PyPI | langgraph-checkpoint-sqlite | < 3.1.2 | 3.1.2 | GHSA-6hmw-9432-67qq |