# CVE-2026-71433: LangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite stores

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-200, CWE-863
- **Aliases:** GHSA-47pj-3jcm-6whg, PYSEC-2026-3635, PYSEC-2026-3636
- **Published:** 2026-08-06T19:03:09.362Z
- **Modified:** 2026-09-10T20:41:33.140Z

## Who should check

- Projects that depend on PyPI package langgraph-checkpoint-postgres (\< 3.1.1)
- Projects that depend on PyPI package langgraph-checkpoint-sqlite (\< 3.1.1)
- Anyone running langchain-ai langgraph \< 3.1.1
- Anyone running langchain-ai langgraph-checkpoint-sqlite \< 3.1.1
- Anyone running langchain-ai langgraph-checkpoint-postgres \< 3.1.1

## 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.

## Affected and fixed versions

- PyPI `langgraph-checkpoint-postgres`: affected \< 3.1.1; fixed 3.1.1 (osv)
- PyPI `langgraph-checkpoint-sqlite`: affected \< 3.1.1; fixed 3.1.1 (osv)
- langchain-ai langgraph: \< 3.1.1 (cvelist)
- langchain-ai langgraph-checkpoint-sqlite: \< 3.1.1 (cvelist)
- langchain-ai langgraph-checkpoint-postgres: \< 3.1.1 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-71433. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-71433.md
Affected: langgraph-checkpoint-postgres < 3.1.1; langgraph-checkpoint-sqlite < 3.1.1
Fixed in: 3.1.1

Steps:
1. Search this machine and project for langgraph-checkpoint-postgres (PyPI), langgraph-checkpoint-sqlite (PyPI), langchain-ai langgraph, langchain-ai langgraph-checkpoint-sqlite, langchain-ai langgraph-checkpoint-postgres: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-71433 being exploited?

There is no confirmed exploitation: CVE-2026-71433 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-71433?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-71433?

langgraph-checkpoint-postgres \< 3.1.1; langgraph-checkpoint-sqlite \< 3.1.1.

### Is there a fix for CVE-2026-71433?

Yes. Fixed in 3.1.1. Upgrade langgraph-checkpoint-postgres to 3.1.1 or later. Upgrade langgraph-checkpoint-sqlite to 3.1.1 or later.

### How do I check if I'm affected by CVE-2026-71433?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/langchain-ai/langgraph/security/advisories/GHSA-47pj-3jcm-6whg>
- vendor: <https://github.com/advisories/GHSA-47pj-3jcm-6whg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-71433>
- patch: <https://github.com/langchain-ai/langgraph/pull/8478>
- patch: <https://github.com/langchain-ai/langgraph/commit/66ebe1a0da921e73f0f9f879ba105d314c079f7c>
- other: <https://github.com/langchain-ai/langgraph/releases/tag/checkpointpostgres%3D%3D3.1.1>
- other: <https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D3.1.1>
- other: <https://github.com/langchain-ai/langgraph>
- other: <https://pypi.org/project/langgraph-checkpoint-postgres>
- other: <https://pypi.org/project/langgraph-checkpoint-sqlite>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-71433>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-47pj-3jcm-6whg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3635> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3636> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-71433> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-71433>
