What’s Vulnerable › Vulnerabilities
CVE-2025-8709: SQL Injection in langchain-ai/langchain
- Severity: high (CVSS 7.3 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-26 · updated 2026-10-19
- Weakness: CWE-89
Description
A SQL injection vulnerability exists in the langchain-ai/langchain 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.
Affected products
- langchain-ai/langchain: through latest
References
- https://huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118
- https://huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118
Get alerted when CVE-2025-8709 or the next vulnerability affects your stack