Vulnerability record · CVE-2023-39659 · published 15 August 2023
CVE-2023-39659: Langchain injection vulnerability
Langchain · Langchain
An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.
Description
An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/langchain-ai/langchain/issues/7700 | ExploitIssue TrackingThird Party Advisory |
| https://github.com/langchain-ai/langchain/pull/5640 | Issue TrackingPatch |
| https://github.com/langchain-ai/langchain/issues/7700 | ExploitIssue TrackingThird Party Advisory |
| https://github.com/langchain-ai/langchain/pull/5640 | Issue TrackingPatch |
Track CVE-2023-39659 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-39659), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.