langchain-ai/langchain · Security
Langchain SQL Injection vulnerability
- GHSA ID
- GHSA-8h5w-f6q9-wg35
- CVE ID
- CVE-2023-32785
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
In Langchain before 0.0.247, prompt injection allows execution of arbitrary code against the SQL service provided by the chain.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')