LangGraph's SQLite store implementation has a SQL Injection Vulnerability
CVE-2025-8709 · GHSA-4h97-wpxp-3757 · published 2025-10-26 · updated 2025-10-27
- Severity
- High
- CVSS score
- 7.3
- Chance of exploitation (EPSS)
- 0.22%
- Fixed in
- 2.0.11
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
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.
Upgrade langgraph-checkpoint-sqlite to 2.0.11 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langgraph-checkpoint-sqlite | PyPI | <= 2.0.10 | 2.0.11 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- HighLangGraph's SQLite is vulnerable to SQL injection via metadata filter key in SQLite checkpointer list methodlanggraph-checkpoint-sqlite
- HighLangGraph SQLite Checkpoint Filter Key SQL Injection POC for SqliteStorelanggraph-checkpoint-sqlite
- MediumLangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite storeslanggraph-checkpoint-postgres, langgraph-checkpoint-sqlite
- MediumLangGraph: Namespace prefix matching crosses segment boundaries in Postgres and SQLite storeslanggraph-checkpoint-postgres, langgraph-checkpoint-sqlite
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.