CVE-2025-67644 LangGraph SQLite Checkpoint is vulnerable to SQL Injection via metadata filter key in checkpointer list method
HighCVSS 7.8
EPSS 2.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi langgraph-checkpoint-sqlite(PyPI) | < 3.0.1 | 3.0.1 |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 1.0.0 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 1.0.1 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 1.0.2 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 1.0.3 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 1.0.4 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.0 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.1 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.10 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.11 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.2 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.3 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.4 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.5 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.6 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.7 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.8 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 2.0.9 | No fix listed |
| pypi langgraph-checkpoint-sqlite(PyPI) | = 3.0.0 | No fix listed |
| langchain-ai langgraph | = < 3.0.1 | No fix listed |
| @langchain langgraph-checkpoint-sqlite | < 3.0.1 | 3.0.1 |
References
- https://github.com/langchain-ai/langgraph/security/advisories/GHSA-9rwj-6rc7-p77c exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/langchain-ai/langgraph/commit/297242913f8ad2143ee3e2f72e67db0911d48e2a patch
- github.com product
- pypi.org product
- github.com vendor-advisory