Skip to content
LangChainGHSA-gwqq-6vq7-5j86

langchain Code Injection vulnerability

Critical9.8CVE-2023-36095 · Published Aug 5, 2023 · updated Sep 27, 2024

An issue in Harrison Chase langchain allows an attacker to execute arbitrary code via the PALChain,from_math_prompt(llm).run in the python exec method.

GitHub advisory

Affected versions

PackageAffectedFixed in
langchain
PyPI
< 0.0.2360.0.236
Details and references

More LangChain advisories

All LangChain
Advisory
Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
Critical9.8Sep 1, 2023
langchain vulnerable to arbitrary code execution
Critical9.8Aug 22, 2023
LangChain vulnerable to arbitrary code execution
Critical9.8Aug 15, 2023
LangChain vulnerable to arbitrary code execution
Critical9.8Aug 15, 2023
LangChain vulnerable to arbitrary code execution
Critical9.8Aug 15, 2023
langchain vulnerable to arbitrary code execution
Critical9.8Jul 6, 2023

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.