Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-38896 EUVD-2023-0114GHSA-92j5-3459-qgp4PYSEC-2023-146

LangChain vulnerable to arbitrary code execution

Published Aug 15, 2023 · Updated Oct 9, 2024 · Assigned by mitre

Description

An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langchain < 0.0.236 0.0.236 GHSA-92j5-3459-qgp4
PyPI langchain < 0.0.195 0.0.195 PYSEC-2023-146

References