CVE-2025-8709
HIGH 7.3CVSS 3.0LangGraph's SQLite store implementation has a SQL Injection Vulnerability
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.
- Published
- 26 Oct 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-4h97-wpxp-3757PYSEC-2026-1528
- Sources
- NVDJSONOSV GHSA-4h97-wpxp-3757JSONOSV PYSEC-2026-1528JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| OSV | PyPA | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | langgraph-checkpoint-sqlite | < 2.0.11 | 2.0.11 |
References
- https://huntr.com/bounties/9793f4b3-76f8-44a4-989f-49a2177ee118 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-8709 · ADVISORY
- https://github.com/langchain-ai/langgraph/pull/5666 · WEB
- https://github.com/langchain-ai/langgraph/commit/bc9d45b476101e441cb1cc602dea03eb29232de4 · WEB
- https://github.com/langchain-ai/langgraph · PACKAGE
- https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite%3D%3D2.0.11 · WEB
- https://pypi.org/project/langgraph-checkpoint-sqlite · PACKAGE
- https://github.com/advisories/GHSA-4h97-wpxp-3757 · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 26 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Oct 2025)