CVE-2023-32785
Langchain SQL Injection vulnerability
DO NOT USE THIS CVE RECORD. ConsultIDs: CVE-2023-36189. Reason: This record is a duplicate of CVE-2023-36189. Notes: All CVE users should reference CVE-2023-36189 instead of this record. All references and descriptions in this record have been removed to prevent accidental usage.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
What each source reports
GitHub Advisories Score usedGHSA-8h5w-f6q9-wg35
9.8
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.
- Record
GHSA-8h5w-f6q9-wg35- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74, CWE-89
- Updated
- 2026-11-02
CVE List No score
DO NOT USE THIS CVE RECORD. ConsultIDs: CVE-2023-36189. Reason: This record is a duplicate of CVE-2023-36189. Notes: All CVE users should reference CVE-2023-36189 instead of this record. All references and descriptions in this record have been removed to prevent accidental usage.
- Record
CVE-2023-32785- Updated
- 2026-11-02
EUVDEUVD-2023-2700 No score
DO NOT USE THIS CVE RECORD. ConsultIDs: CVE-2023-36189. Reason: This record is a duplicate of CVE-2023-36189. Notes: All CVE users should reference CVE-2023-36189 instead of this record. All references and descriptions in this record have been removed to prevent accidental usage.
- Record
EUVD-2023-2700- Updated
- 2026-11-03
NVD No score
Rejected reason: DO NOT USE THIS CVE RECORD. ConsultIDs: CVE-2023-36189. Reason: This record is a duplicate of CVE-2023-36189. Notes: All CVE users should reference CVE-2023-36189 instead of this record. All references and descriptions in this record have been removed to prevent accidental usage.
- Record
CVE-2023-32785- Updated
- 2026-11-02
OSVGHSA-8h5w-f6q9-wg35
9.8
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.
- Record
GHSA-8h5w-f6q9-wg35- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74, CWE-89
- Updated
- 2026-11-02
OSVPYSEC-2026-372
9.8
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.
- Record
PYSEC-2026-372- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
Rejected reason: DO NOT USE THIS CVE RECORD. ConsultIDs: CVE-2023-36189. Reason: This record is a duplicate of CVE-2023-36189. Notes: All CVE users should reference CVE-2023-36189 instead of this record. All references and descriptions in this record have been removed to prevent accidental usage.
- Record
CVE-2023-32785- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
langchainPyPI |
before 0.0.247 | 0.0.247 |
langchainPyPI |
before 0.0.247, plus listed versions 0.0.10.0.100.0.1000.0.1010.0.101rc0 Show 45 moreShow less0.0.1020.0.102rc00.0.1030.0.1040.0.1050.0.1060.0.1070.0.1080.0.1090.0.110.0.1100.0.1110.0.1120.0.1130.0.1140.0.1150.0.1160.0.1170.0.1180.0.1190.0.120.0.1200.0.1210.0.1220.0.1230.0.1240.0.1250.0.1260.0.1270.0.1280.0.1290.0.130.0.1300.0.1310.0.1320.0.1330.0.1340.0.1350.0.1360.0.1370.0.1380.0.1390.0.140.0.1400.0.141 |
0.0.247 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, references | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-32785 has been rejected by its source and should not be treated as a live vulnerability, published October 20, 2023. Fixed in langchain 0.0.247.
References
nvd.nist.gov/vuln/detail/CVE-2023-32785
github.com/langchain-ai/langchain/issues/5923
gist.github.com/rharang/9c58d39db8c01db5b7c888e467c0533f
github.com/langchain-ai/langchain
github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2026-372.yaml
pypi.org/project/langchain
github.com/advisories/GHSA-8h5w-f6q9-wg35
Left out here: 200 versions. The JSON record has them.