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

Published Oct 23, 2026
·
Updated

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, listnamespaces, 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",)) and listnamespaces(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 listnamespaces 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.validateopnamespace for each op they run.

Other sources

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, listnamespaces, 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.

— MITRE

Affected Software

4 affected componentsFixes available
pypi/langgraph-checkpoint-postgres<3.1.3
pypi/langgraph-checkpoint-sqlite<3.1.2
pip/langgraph-checkpoint-sqlite<3.1.2
3.1.2
pip/langgraph-checkpoint-postgres<3.1.3
3.1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/langgraph-checkpoint-sqlite to a version that resolves this vulnerability.

    Fixed in 3.1.2
  2. Upgrade

    Upgrade pip/langgraph-checkpoint-postgres to a version that resolves this vulnerability.

    Fixed in 3.1.3
  3. Upgrade

    Upgrade langgraph-checkpoint-postgres to a version that resolves this vulnerability.

    Fixed in 3.1.3
  4. Upgrade

    Upgrade langgraph-checkpoint-sqlite to a version that resolves this vulnerability.

    Fixed in 3.1.2
  5. Upgrade

    Upgrade langgraph-checkpoint to a version that resolves this vulnerability.

    Fixed in 4.3.0
  6. Compensating control

    For stores outside this repository that convert namespaces into delimited text, call langgraph.store.base.validate_op_namespace for each operation they run.

Event History

Oct 23, 2026
CVE Published
via MITRE·09:12 PM
Data Sourced
via MITRE·09:12 PM
DescriptionWeakness
Advisory Published
via GitHub·10:06 PM
Data Sourced
via GitHub·10:06 PM
DescriptionWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203