Skip to main content

LangGraph Checkpoint CVE-2026-71433

| EUVDEUVD-2026-54227 MEDIUM
Information Exposure (CWE-200)
2026-08-06 https://github.com/langchain-ai/langgraph GHSA-47pj-3jcm-6whg
5.3
CVSS 3.1 · Vendor: https://github.com/langchain-ai/langgraph
Share

Severity by source

Vendor (https://github.com/langchain-ai/langgraph) PRIMARY
5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
5.3 MEDIUM

Network access required; AC:H for mandatory prefix-overlap or wildcard-label precondition; PR:L for authenticated API caller; C:H in multi-tenant scope; no integrity or availability impact confirmed.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/langchain-ai/langgraph).

CVSS VectorVendor: https://github.com/langchain-ai/langgraph

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Source Code Evidence Fetched
Aug 06, 2026 - 19:36 vuln.today
Analysis Generated
Aug 06, 2026 - 19:36 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 pypi packages depend on langgraph-checkpoint-postgres (1 direct, 0 indirect)
  • 232 pypi packages depend on langgraph-checkpoint-sqlite (192 direct, 43 indirect)

Ecosystem-wide dependent count for version 3.1.1 and other introduced versions.

DescriptionCVE.org

Summary

The Postgres and SQLite stores persist hierarchical namespaces as a dot-joined string (("memories", "alice") becomes memories.alice) and scoped reads by matching that string with LIKE '<path>%'. Because LIKE has no notion of the . separator, a scoped search or list_namespaces also matched sibling namespaces whose flattened form shares leading characters.

Applications commonly use the namespace as a tenant boundary. Where they do, a read scoped to one namespace could return items belonging to another, without any crafted input - an ordinary scoped request was sufficient.

We have no evidence of this behavior being exploited in the wild.

Affected users / systems

You may be affected if you:

  • use PostgresStore/AsyncPostgresStore or SqliteStore/AsyncSqliteStore, and
  • rely on the namespace to separate data between users or tenants, and
  • have namespace labels where one is a prefix of another (1 and 12, alice and alice2), or labels containing _ or %

Applications whose namespace labels are fixed-length identifiers such as UUIDs, containing no _ or %, are not affected - no such label can be a prefix of another. InMemoryStore compares namespaces element-wise and is not affected.

Three distinct cases were possible:

  • Sibling namespaces. A read scoped to ("foo",) also returned items under ("foobar",) and ("foo2",).
  • Unescaped pattern metacharacters. _ and % are legal namespace labels - only . is rejected - but were interpolated into the match pattern unescaped, so ("user_1",) also matched ("userX1",).
  • Suffix conditions. list_namespaces(suffix=("alice",)) also matched the sibling leaf users.malice.

This is not SQL injection. Values were passed as bound parameters and never interpolated into statement text; the bound value *was itself* a LIKE pattern whose metacharacters were not neutralized.

Impact

  • Confidentiality: disclosure of stored items belonging to namespaces outside the caller's intended scope, where namespaces are used as a tenant or user boundary.
  • No integrity or availability impact. get, put, and delete compare namespaces with = and were never affected; the issue is limited to read paths.

Patches / mitigation

Prefix scoping now matches the namespace exactly or requires the . separator before any remainder, pattern metacharacters in labels are escaped, and list_namespaces uses segment-aware matching for both prefix and suffix conditions.

On SQLite, the descendant match moved from LIKE to GLOB. LIKE is case-insensitive for ASCII in SQLite, so scoped reads previously matched namespaces differing only in case, while get/put/delete treated them as distinct. Search now agrees with them.

Upgrade to langgraph-checkpoint-postgres 3.1.1 or langgraph-checkpoint-sqlite 3.1.1.

Compatibility

* in a list_namespaces match path now spans exactly one namespace segment. This restores the documented behavior - NamespacePath documents ("cache", "*", "v1") as "any cache category with v1 version" - and matches InMemoryStore. Multi-segment matching was an artifact of translating * into a SQL % wildcard, the same mechanism responsible for this issue, and could not be preserved while fixing it.

Callers relying on the previous behavior can express "match at any depth" by combining both match conditions, which are ANDed:

python
list_namespaces(prefix=["uid"], suffix=["alice"])

Applications whose namespace labels cannot be prefixes of one another see no behavioral change.

Operational guidance

  • Prefer fixed-length namespace labels such as UUIDs, so no label can be a prefix of another.
  • Where labels are user-supplied, validate them at the boundary rather than relying on scoping alone.

LangSmith / hosted deployments note

Unlike previous store advisories, this issue does reach hosted deployments. LangSmith deployments default to LANGGRAPH_STORE_BACKEND=python, which uses AsyncPostgresStore from checkpoint-postgres. Deployments configured with LANGGRAPH_STORE_BACKEND=grpc use a separate implementation that received an equivalent fix.

AnalysisAI

Cross-tenant namespace disclosure in LangGraph's PostgreSQL and SQLite checkpoint stores allows an authenticated low-privileged user to read stored items belonging to other namespaces without any crafted input. The flaw arises from translating hierarchical namespaces into dot-joined strings and scoping reads with SQL LIKE patterns that have no understanding of the segment separator, so a query scoped to 'foo' also returns data from 'foobar' or 'foo2'. Exploitation requires the specific precondition of prefix-overlapping or wildcard-containing namespace labels; no public exploit code exists and the vendor confirms no evidence of in-the-wild exploitation.

Technical ContextAI

LangGraph's PostgresStore/AsyncPostgresStore and SqliteStore/AsyncSqliteStore (pkg:pip/langgraph-checkpoint-postgres and pkg:pip/langgraph-checkpoint-sqlite) represent hierarchical namespace tuples as dot-concatenated strings stored in a prefix column. Scoped read operations (search, list_namespaces) built SQL LIKE patterns from these strings-e.g., 'foo%' to scope to the 'foo' namespace-without accounting for three related problems: (1) LIKE has no concept of the '.' segment separator, so 'foo%' also matches 'foobar'; (2) namespace labels containing the LIKE metacharacters '_' and '%' were interpolated unescaped into the pattern, allowing unintended cross-matches such as '(user_1,)' matching '(userX1,)'; and (3) list_namespaces suffix conditions suffered the same boundary confusion. This is classified as CWE-200 (Exposure of Sensitive Information). Notably this is not SQL injection-values were correctly used as bound parameters; the defect is that the bound value was itself a LIKE pattern with unescaped wildcards. The patch (PR #8478, commit 66ebe1a) introduces _namespace_prefix_condition() using an exact-match OR anchored LIKE with escaping, replaces LIKE with POSIX regex (~ operator) for list_namespaces, and on SQLite switches descendant matching from LIKE to GLOB to also fix a case-insensitivity inconsistency. InMemoryStore was never affected because it compares namespace tuples element-wise.

RemediationAI

Upgrade to langgraph-checkpoint-postgres 3.1.1 or langgraph-checkpoint-sqlite 3.1.1 as appropriate; both are available on PyPI and tagged at https://github.com/langchain-ai/langgraph/releases/tag/checkpointpostgres%3D%3D3.1.1 and https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D3.1.1. The fix is confirmed in PR #8478 (commit 66ebe1a). If immediate upgrade is not possible, two compensating controls reduce exposure with meaningful trade-offs: first, enforce fixed-length namespace labels such as UUIDs at the application boundary-this prevents any label from being a prefix of another and eliminates the LIKE boundary confusion, though it requires a namespace migration if variable-length labels are already in use; second, validate namespace labels at ingestion to reject any label containing '_' or '%' characters-this blocks the metacharacter case but does not protect against the sibling-prefix case when labels share leading characters. Neither workaround protects against the suffix condition in list_namespaces if labels can share suffixes. Note that CVSS 4.0's AT:P (Attack Requirements: Present) designation reflects that these workarounds genuinely reduce exposure to near-zero for conforming deployments; upgrade remains the authoritative fix.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Share

CVE-2026-71433 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy