An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.
Date: 2023-08
Affected: langchain/langchain
Attack vector: rce
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2023-39659
CWE: CWE-74
CVSS: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

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


Mitigations:

Architectural layers (MAESTRO):