Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118
- https://huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118
FAQ
What is CVE-2025-8709?
CVE-2025-8709 is a vulnerability with a CVSS score of 7.3 (HIGH). 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. ...
How severe is CVE-2025-8709?
CVE-2025-8709 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-8709?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.