All reports
Critical

LangChain vulnerable to arbitrary code execution

Affected versions

Version ranges need review.

Affected versions
< 0.0.325
Fixed version
0.0.325
Affected versions
Unknown
Fixed version
0.0.233

Exploitation

CVE-2023-39659

Probability of exploitation in the next 30 days: 1.52%

FIRST EPSS · 2026-11-23

Description

An issue in langchain langchain-ai before version 0.0.325 allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.

Links

Credits

  • eyurtsev