LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite stores
Summary
The Postgres and SQLite stores save a namespace as its labels joined with ., so ("tenant", "bob") and ("tenant.bob",) map to the same stored namespace. put rejected labels containing ., but get, search, delete, list_namespaces, their async versions, and ops passed directly to batch/abatch did not. A caller that could pass such a label could read, overwrite or delete items in another namespace.
Details
BaseStore checked namespace labels only in put/aput. The other methods passed the namespace on unchecked, and batch/abatch checked nothing, including the PutOp items inside them. PostgresStore, AsyncPostgresStore, SqliteStore and AsyncSqliteStore turn a namespace into text with ".".join(namespace), so a label containing . resolved to the namespace whose labels it spells out:
get(("tenant.bob",), key),search(("tenant.bob",))andlist_namespaces(prefix=("tenant.bob",))returned data stored under("tenant", "bob").delete(("tenant.alice",), key)deleted the item stored under("tenant", "alice").batch([PutOp(("tenant.bob",), key, value)])overwrote the item stored under("tenant", "bob").
All releases of langgraph-checkpoint-postgres before 3.1.3 and langgraph-checkpoint-sqlite before 3.1.2 are affected. InMemoryStore compares namespaces as tuples and is not affected.
Impact
You may be affected if you use one of these stores, rely on namespaces to keep users or tenants apart, and let untrusted input choose a namespace label that reaches a read, delete or batch call. Such input could read, overwrite or delete another tenant's items. Labels written through put could never contain ., so no stored data becomes unreachable after upgrading.
LangSmith Deployment: the HTTP store API already rejected such labels, but store calls made from graph code reached the same flaw. The Agent Server rejects these labels from versions 0.15.5 and 0.16.2. On LangSmith Cloud, new deployments and revisions already include the fix and existing deployments get it on their next revision; self-hosted deployments should upgrade.
Remediation
Upgrade to langgraph-checkpoint-postgres 3.1.3 or langgraph-checkpoint-sqlite 3.1.2. Both require langgraph-checkpoint 4.3.0, where get, search, delete and list_namespaces reject labels that are empty, are not strings, or contain . with InvalidNamespaceError, and the Postgres and SQLite stores apply the same check to every op passed to batch/abatch. Stores outside this repository that turn namespaces into delimited text can call langgraph.store.base.validate_op_namespace for each op they run.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | langgraph-checkpoint-postgres | < 3.1.3 | 3.1.3 |
| Python (PyPI) | langgraph-checkpoint-sqlite | < 3.1.2 | 3.1.2 |
Referencias
- https://github.com/langchain-ai/langgraph/security/advisories/GHSA-6hmw-9432-67qq
- https://github.com/langchain-ai/langgraph/pull/9217
- https://github.com/langchain-ai/langgraph/commit/bfcfea554ed5c7f7be562cebf8825e911b493ab1
- https://github.com/langchain-ai/langgraph
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointpostgres%3D%3D3.1.3
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D3.1.2
- Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N- Debilidad (CWE)
CWE-20, CWE-863- Plataforma
- Python (PyPI)
- Paquete
langgraph-checkpoint-postgres, langgraph-checkpoint-sqlite- Publicada
- 23.10.2026
- Actualizado
- 24.10.2026 01:17
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-6hmw-9432-67qq - CC BY 4.0
Historial de vulnerabilidades: langgraph-checkpoint-sqlite
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 5
- Primera → última
- 10.2025 10.2026
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 3
- Media 2
Divulgaciones por año
- 2025: 3
- 2026: 2
-
LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite stores esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.