CVEvulnerability
CVE-2023-39659
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2023-08-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74
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.
Affected configurations
• langchain langchain (<= 0.0.232)
Related
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://github.com/langchain-ai/langchain/issues/7700 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/langchain-ai/langchain/pull/5640 Issue Tracking, Patch
- https://github.com/langchain-ai/langchain/issues/7700 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/langchain-ai/langchain/pull/5640 Issue Tracking, Patch