Skip to content
LangChainGHSA-92j5-3459-qgp4

LangChain vulnerable to arbitrary code execution

Critical9.8CVE-2023-38896 · Published Aug 15, 2023 · updated Sep 27, 2024

GitHub advisory

Affected versions

PackageAffectedFixed in
langchain
PyPI
< 0.0.2360.0.236
Details and references

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

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-74, CWE-94
Also known as
CVE-2023-38896, PYSEC-2023-146

More LangChain advisories

All LangChain
DateAdvisory
Aug 152023LangChain vulnerable to arbitrary code execution
CVE-2023-38860Critical9.8fixed in 0.0.247
Aug 152023LangChain vulnerable to arbitrary code execution
CVE-2023-39659Critical9.8fixed in 0.0.325
Aug 222023langchain vulnerable to arbitrary code execution
CVE-2023-36281Critical9.8fixed in 0.0.312
Aug 52023langchain Code Injection vulnerability
CVE-2023-36095Critical9.8fixed in 0.0.236
Sep 12023Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
CVE-2023-39631Critical9.8fixed in 0.0.308
Jul 62023langchain vulnerable to arbitrary code execution
CVE-2023-36188Critical9.8fixed in 0.0.247

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.