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 VersionSources
More advisories for this tool