CVE-2023-39631
criticalpriority · track · 40EPSS 0.016 · 76 %ileEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-f73w-4m7g-ch9xLangchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library2023-09-01ghsa · osvUS
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. Patches: Released in v.0.0.308. numexpr dependency is optional for langchain.
- PYSEC-2023-1622023-09-01vendor · osvUS
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.
- PYSEC-2023-1632023-09-01vendor · osvUS
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.
also known as (9)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-39631/cnnvd
- https://github.com/langchain-ai/langchain/issues/8363cnnvd
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.279Patchcnnvd
- https://github.com/pydata/numexpr/issues/442cnnvd
- https://github.com/langchain-ai/langchain/issues/8363enisa_euvd
- https://github.com/pydata/numexpr/issues/442enisa_euvd
- https://github.com/langchain-ai/langchain/issues/8363ExploitIssue TrackingPatchThird Party Advisorynvd
- https://github.com/pydata/numexpr/issues/442ExploitIssue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan