SQL Injection in langchain-ai/langchain
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| langchain-ai | langchain-ai/langchain | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Langchain | Langchain | — |
| Langchain-ai | Langchain | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4h97-wpxp-3757 | LangGraph's SQLite store implementation has a SQL Injection Vulnerability |
No CVSS v4.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.220% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Langchain
Langchain langchain Langchain-ai Langchain-ai langchain |
|
| Vendors & Products |
Langchain
Langchain langchain Langchain-ai Langchain-ai langchain |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | SQL Injection in langchain-ai/langchain | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV3_0
|