| Component | LangGraph, LangChain |
| Severity | high (CVSS 7.3) |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| Published (NVD) | 2025-10-26 |
| Last modified | 2026-06-17 |
| Affected versions | not published yet, see the advisory |
| Fixed in | see the vendor advisory |
| Weakness | CWE-89 |
| CISA KEV | not listed |
NVD 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.
What to do
- NVD lists no fixed version yet: follow the vendor advisory below and keep LangGraph off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
Other LangGraph CVEs
LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python application...
LangChain MongoDB provides integrations between MongoDB, Atlas, LangChain, and LangGraph. Prior to langgraph-checkpoint-mongodb 0.3.0 and la...
langgraph-api implements the LangGraph API for rapid development and testing. Prior to 0.10.0, langgraph-api permits a run or cron to specif...
langgraph-api implements the LangGraph API for rapid development and testing. Prior to 0.10.0, the langgraph-api run-creation path authorize...
LangGraph Checkpoint Postgres and SQLite Checkpoint are the Postgres and SQLite implementations of LangGraph's checkpoint saver. Prior to 3....
@langchain/langgraph-checkpoint-mongodb provides a LangGraph.js CheckpointSaver implementation that uses MongoDB for storage. Versions 1.3.0...