CVE-2023-32785criticalPrompt injection2023-10-21
CVE-2023-32785: Langchain SQL Injection vulnerability
In Langchain before 0.0.247, prompt injection allows execution of arbitrary code against the SQL service provided by the chain.
What it is
In Langchain before 0.0.247, prompt injection allows execution of arbitrary code against the SQL service provided by the chain.
How to check
- Affected: langchain (pip) < 0.0.247.
- Compare your installed version with the range above (command below).
How to fix
- Upgrade langchain to 0.0.247 or later.
pip show langchain | grep Version Sources
More advisories for this tool
- criticalCVE-2026-75128: Langchain-Chatchat lets anyone run shell commands through /tools/call
- criticalCVE-2024-46946: LangChain Experimental Eval Injection vulnerability
- criticalCVE-2024-27444: LangChain Experimental vulnerable to arbitrary code execution
- highCVE-2026-119978: Flowise through 3.1.4 lets logged-in users escape the custom-function sandbox and run OS commands when ALLOW_BUILTIN_DEP=true