AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LangChainGHSA-f73w-4m7g-ch9x

Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library

LangChain

CVE-2023-39631 · Published Sep 1, 2023 · updated Feb 20, 2025

Critical9.8
Fix: upgrade to 0.0.308 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
langchain
PyPI
< 0.0.3080.0.308
Details and references

More LangChain advisories

All LangChain