Description
LangGraph Checkpoint Postgres and SQLite Checkpoint are the Postgres and SQLite implementations of LangGraph's checkpoint saver. Prior to 3.1.1, the langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite packages persisted hierarchical namespaces as a dot joined string and scoped reads by matching that string as a simple prefix pattern, so a read scoped to one namespace could also match a sibling namespace whose flattened form shares the same leading characters, or a namespace label containing unescaped pattern metacharacters, allowing an authenticated caller to retrieve stored items belonging to another tenant or user through an ordinary scoped search or list namespaces call, with no crafted input required. This issue is fixed in versions 3.1.1 of langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite.
Published: 2026-08-06
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LangGraph’s checkpoint storage for Postgres and SQLite persisted hierarchical namespaces as a single dot‑joined string and performed scoped reads by simple prefix matching. Before version 3.1.1, this matching algorithm allowed a user to query a namespace that shared a common leading fragment of the string, causing the application to return items belonging to a different tenant or user. The flaw does not require crafted input; any authenticated caller who can invoke the normal list or get operations can obtain data from another namespace, resulting in confidentiality exposure.

Affected Systems

Vendors and products affected are langchain-ai’s LangGraph core (langgraph) and its Postgres and SQLite checkpoint implementations (langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite). The vulnerability exists in all releases before 3.1.1 of each package. Version 3.1.1 and later contain the patch that properly scopes namespace reads.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that no widespread exploits are publicly documented. The flaw is exploitable by any authenticated user who can call the checkpoint API, meaning that the attack surface is limited to systems that expose the checkpoint service. An attacker would gain read access to data that should be isolated to another tenant, which could lead to data leakage and potential regulatory violations. Therefore, the risk is moderate but requires immediate mitigation to prevent potentially sensitive information from being exposed.

Generated by OpenCVE AI on August 7, 2026 at 00:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite packages to version 3.1.1 or later, ensuring the namespace prefix matching logic has been corrected.
  • If your application uses the langgraph core library, confirm that the configuration references the updated checkpoint drivers and restart the application to apply the new versions.
  • Review any custom namespace naming or access controls to confirm that no legacy namespace strings match multiple tenants, and adjust naming conventions if necessary.

Generated by OpenCVE AI on August 7, 2026 at 00:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-47pj-3jcm-6whg LangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite stores
History

Fri, 07 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Langchain
Langchain langgraph-checkpoint-sqlite
Langchain-ai
Langchain-ai langgraph
Langchain-ai langgraph-checkpoint-postgres
Vendors & Products Langchain
Langchain langgraph-checkpoint-sqlite
Langchain-ai
Langchain-ai langgraph
Langchain-ai langgraph-checkpoint-postgres

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description LangGraph Checkpoint Postgres and SQLite Checkpoint are the Postgres and SQLite implementations of LangGraph's checkpoint saver. Prior to 3.1.1, the langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite packages persisted hierarchical namespaces as a dot joined string and scoped reads by matching that string as a simple prefix pattern, so a read scoped to one namespace could also match a sibling namespace whose flattened form shares the same leading characters, or a namespace label containing unescaped pattern metacharacters, allowing an authenticated caller to retrieve stored items belonging to another tenant or user through an ordinary scoped search or list namespaces call, with no crafted input required. This issue is fixed in versions 3.1.1 of langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite.
Title LangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite stores
Weaknesses CWE-200
CWE-863
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Langchain Langgraph-checkpoint-sqlite
Langchain-ai Langgraph Langgraph-checkpoint-postgres
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T14:51:28.324Z

Reserved: 2026-08-06T16:28:51.182Z

Link: CVE-2026-71433

cve-icon Vulnrichment

Updated: 2026-08-07T14:51:24.615Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:30.107

Modified: 2026-08-07T15:17:03.857

Link: CVE-2026-71433

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T09:59:09Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-863

    Incorrect Authorization