langchain_experimental Code Execution via Python REPL access
CVE-2024-38459 · GHSA-wmvm-9vqv-5qpp · published 2024-06-16 · updated 2024-07-05
- Severity
- High
- CVSS score
- 7.8
- Chance of exploitation (EPSS)
- 0.22%
- Fixed in
- 0.0.61
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
langchain_experimental (aka LangChain Experimental) before 0.0.61 for LangChain provides Python REPL access without an opt-in step. NOTE; this issue exists because of an incomplete fix for CVE-2024-27444.
Upgrade langchain-experimental to 0.0.61 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-experimental | PyPI | < 0.0.61 | 0.0.61 |
- 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 Experimental Eval Injection vulnerabilitylangchain-experimental
- Criticallangchain-experimental vulnerable to Arbitrary Code Executionlangchain-experimental
- CriticalLangChain Experimental vulnerable to arbitrary code executionlangchain-experimental
- Criticallangchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec methodlangchain-experimental
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.