Loading advisory.
Loading advisory.
Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
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.
Published 2023-09-01 00:00 UTC · Modified 2026-06-10 17:02 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| langchain | PyPI | < 0.0.308 versions 0.0.1, 0.0.10, 0.0.100, 0.0.101, 0.0.101rc0, 0.0.102, 0.0.102rc0, 0.0.103, 0.0.104, 0.0.105, 0.0.106, 0.0.107, 0.0.108, 0.0.109, 0.0.11, 0.0.110, 0.0.111, 0.0.112, 0.0.113, 0.0.114 and 289 more | 0.0.308 | pip install --upgrade 'langchain>=0.0.308' |
| numexpr | PyPI | < 2.8.5 versions 1.1.1, 1.2, 1.3, 1.3.1, 1.4, 1.4.1, 1.4.2, 2.0, 2.0.1, 2.1, 2.2, 2.2.1, 2.2.2, 2.3, 2.3-rc1, 2.3.1, 2.4, 2.4-rc1, 2.4-rc2, 2.4.1 and 27 more | 2.8.5 | pip install --upgrade 'numexpr>=2.8.5' |
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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.016 on 2026-11-24 to 0.017 on 2026-11-30, over 3 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.016 | first score | v2026.06.15 |
| 2026-11-26 | 0.017 | 0.016 | v2026.06.15 |
| 2026-11-30 | 0.017 | 0.017 | v2026.06.15 |