CVE-2023-39631Published Sep 1, 2023 · Sep 1Updated Oct 28
Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
Critical9.8Fix available
From the CVE record · mitre
Langchain v0.0.245 is vulnerable through the evaluate function in the numexpr library. A remote attacker can use this issue to execute arbitrary code; the input does not specify authentication or user-interaction requirements.
Check deployments using PyPI langchain versions below 0.0.308 or PyPI numexpr versions below 2.8.5.