langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method
CVE-2023-44467 · GHSA-gjjr-63x4-v8cq · published 2023-10-09 · updated 2025-02-24
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 1.0%
- Fixed in
- No fix yet
langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which is not prohibited by pal_chain/base.py.
No fixed release is listed yet for langchain-experimental. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Command or code injection. Remove or disable the affected server or tool, or run it in a sandbox with no secrets in its environment.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langchain-experimental | PyPI | <= 0.0.14 | No fix yet |
- 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
- Highlangchain_experimental Code Execution via Python REPL accesslangchain-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.