CVE-2026-71433
LangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite stores
Also known as GHSA-47pj-3jcm-6whg, PYSEC-2026-3635, PYSEC-2026-3636
Mitigation
- Upgrade langgraph-checkpoint-postgres to 3.1.1 or later.
- Upgrade langgraph-checkpoint-sqlite to 3.1.1 or later.
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
Vulnerability facts
- Affected
- langgraph-checkpoint-postgres < 3.1.1; langgraph-checkpoint-sqlite < 3.1.1
- Fixed in
- 3.1.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.36% chance of exploitation in 30 days (percentile 22, 2026-11-26)
- CWE
- CWE-200, CWE-863
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI langgraph-checkpoint-postgres | < 3.1.1 | 3.1.1 | osv |
| PyPI langgraph-checkpoint-sqlite | < 3.1.1 | 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
Other
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointpostgres%3D%3D3.1.1
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D3.1.1
- https://github.com/langchain-ai/langgraph
- https://pypi.org/project/langgraph-checkpoint-postgres
- https://pypi.org/project/langgraph-checkpoint-sqlite
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.