Vulnerability record · CVE-2023-39631 · published 1 September 2023
CVE-2023-39631: Langchain code injection vulnerability
Langchain · Langchain
An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.
Description
An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.
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/8363 | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/pydata/numexpr/issues/442 | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/langchain-ai/langchain/issues/8363 | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/pydata/numexpr/issues/442 | ExploitIssue TrackingPatchThird Party Advisory |
Track CVE-2023-39631 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-39631), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.