CRITICAL 9.8 PyPI

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

GHSA-f73w-4m7g-ch9x · CVE-2023-39631 · PYSEC-2023-162 · PYSEC-2023-163

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes