langchain SQL Injection vulnerability
CVE-2023-36189 · GHSA-7q94-qpjr-xpgm · published 2023-07-06 · updated 2024-10-21
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 1.2%
- Fixed in
- 0.0.247
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
SQL injection vulnerability in langchain allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.
Upgrade langchain to 0.0.247 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langchain | PyPI | >= 0, < 0.0.247 | 0.0.247 |
- 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
- CriticalLangchain SQL Injection vulnerabilitylangchain
- CriticalLangchain vulnerable to arbitrary code execution via the evaluate function in the numexpr librarylangchain
- Criticallangchain vulnerable to arbitrary code executionlangchain
- CriticalLangChain vulnerable to arbitrary code executionlangchain
- CriticalLangChain vulnerable to arbitrary code executionlangchain
- CriticalLangChain vulnerable to arbitrary code executionlangchain
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.