Skip to content
CriticalVulnerability

CVE-2023-39631: LanChain-ai Langchain code execution through evaluate function

Identifier
CVE-2023-39631
Published
Record updated
View JSON
Affected
  • langchain < 0.0.308, fixed in 0.0.308, released October 4, 2023, 33 days after disclosure
  • numexpr < 2.8.5, fixed in 2.8.5, released August 6, 2023, 26 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.6%

Summary

CVE-2023-39631 affects LangChain-ai Langchain v0.0.245. A remote attacker can execute arbitrary code through the evaluate function in the numexpr library. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection').

Mitigation

The source does not state a fix yet. Check the original advisory for updates.