GitHub Advisoryadvisory · PyPI
GHSA-8h5w-f6q9-wg35 Langchain SQL Injection vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2023-32785
- Ecosystem
- PyPI
- Packages
- langchain
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74, CWE-89
- Reviewed
- 2023-10-24
Affected packages
• PyPI langchain: < 0.0.247 → fixed in 0.0.247
Description
In Langchain before 0.0.247, prompt injection allows execution of arbitrary code against the SQL service provided by the chain.
Related
Alias · not in database (1)
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-32785 advisory
- https://github.com/langchain-ai/langchain/issues/5923#issuecomment-1696053841 web
- https://gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f web
- https://github.com/langchain-ai/langchain package
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2026-372.yaml web
- https://pypi.org/project/langchain web