LangGraph SQLite Checkpoint is vulnerable to SQL Injection via metadata filter key in checkpointer list method
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). Versions 3.0.0 and below are vulnerable to SQL injection through the checkpoint implementation. Checkpoint allows attackers to manipulate SQL queries through metadata filter keys, affecting applications that accept untrusted metadata filter keys (not just filter values) in checkpoint search operations. The _metadata_predicate() function constructs SQL queries by interpolating filter keys directly into f-strings without validation. This issue is fixed in version 3.0.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| langchain-ai | langgraph | before 3.0.1 | 3.0.1 | Patch available | CNA |
| — | langgraph-checkpoint-sqlite (PyPI) | before 3.0.1 | 3.0.1 | Patch available | GHSA-9rwj-6rc7-p77c |
- langgraph Vendorlangchain-ai Affected before 3.0.1 Fixed in 3.0.1 Patch available CNA
- langgraph-checkpoint-sqlite (PyPI) Vendor— Affected before 3.0.1 Fixed in 3.0.1 Patch available GHSA-9rwj-6rc7-p77c
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:langchain:langgraph-checkpoint-sqlite:*:*:*:*:*:python:*:* | before 3.0.1 | Vulnerable | langchain-ai |
- cpe:2.3:a:langchain:langgraph-checkpoint-sqlite:*:*:*:*:*:python:*:* Versions before 3.0.1 Vulnerable ·langchain-ai
Remediation
- Fix · CNA langgraph (langchain-ai) Fixed in 3.0.1
- Fix · GHSA-9rwj-6rc7-p77c langgraph-checkpoint-sqlite (PyPI) Fixed in 3.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-67644
- 2026-10-03 Alias added: GHSA-9rwj-6rc7-p77c
References
Sources
- CVE-2025-67644 · CVE Program
- CVE-2025-67644 · NVD
- FIRST EPSS
- GHSA-9rwj-6rc7-p77c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences