CVE-2025-8709: LangGraph's SQLite store implementation has a SQL Injection Vulnerability
A SQL injection vulnerability exists in the langchain-ai/langgraph repository, specifically in the LangGraph's SQLite store implementation. The affected version is langgraph-checkpoint-sqlite 2.0.10. The vulnerability arises from improper handling of filter operators ($eq, $ne, $gt, $lt, $gte, $lte) where direct string concatenation is used without proper parameterization.
Published Oct 26, 2025 · Updated Oct 27, 2025
Affected packages
langgraph-checkpoint-sqlite
- Ecosystem
- PyPI
- Affected
- <= 2.0.10
- Fixed in
- 2.0.11
- Check
pip show langgraph-checkpoint-sqlite
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A SQL injection vulnerability exists in the langchain-ai/langgraph repository, specifically in the LangGraph's SQLite store implementation. The affected version is langgraph-checkpoint-sqlite 2.0.10. The vulnerability arises from improper handling of filter operators ($eq, $ne, $gt, $lt, $gte, $lte) where direct string concatenation is used without proper parameterization. This allows attackers to inject arbitrary SQL, leading to unauthorized access to all documents, data exfiltration of sensitive fields such as passwords and API keys, and a complete bypass of application-level security filters.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-8709
- https://huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118
- https://github.com/langchain-ai/langgraph/pull/5666
- https://github.com/langchain-ai/langgraph/commit/bc9d45b476101e441cb1cc602dea03eb29232de4
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D2.0.11
- https://github.com/advisories/GHSA-4h97-wpxp-3757
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-115883
LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite stores
medium6.0Oct 23, 2026CVE-2026-71433
LangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite stores
medium5.3Aug 6, 2026CVE-2025-67644
LangGraph's SQLite is vulnerable to SQL injection via metadata filter key in SQLite checkpointer list method
high7.3Dec 10, 2025CVE-2025-64104
LangGraph SQLite Checkpoint Filter Key SQL Injection POC for SqliteStore
high7.3Oct 29, 2025
