LangGraph's SQLite store implementation has a SQL Injection Vulnerability
High severity
GitHub Reviewed
Published
Oct 26, 2025
to the GitHub Advisory Database
•
Updated Oct 27, 2025
Description
Published by the National Vulnerability Database
Oct 26, 2025
Published to the GitHub Advisory Database
Oct 26, 2025
Reviewed
Oct 27, 2025
Last updated
Oct 27, 2025
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.
References