CVE-2023-39659
LangChain vulnerable to arbitrary code execution
9.8
CRITICAL
CVSS 3.1
EPSS 1.6%
Description
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.
How to fix CVE-2023-39659
To remediate CVE-2023-39659, upgrade the affected package to a fixed version below.
- PyPI/langchain—upgrade to 0.0.325 or later
- —upgrade to 0.0.233 or later
Is CVE-2023-39659 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.0.325
- from 0, < 0.0.233
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |