Langchain vulnerable to arbitrary code execution
CVE-2023-34541 · GHSA-6643-h7h5-x9wh · published 2023-06-20 · updated 2024-09-27
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 0.94%
- Fixed in
- 0.0.247
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.
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.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.