Skip to content
LangChainGHSA-7gfq-f96f-g85j

langchain vulnerable to arbitrary code execution

Critical9.8CVE-2023-36281 · Published Aug 22, 2023 · updated Sep 30, 2024

An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via the via the a json file to the `load_prompt` parameter. This is related to `__subclasses__` or a template.

GitHub advisory

Affected versions

PackageAffectedFixed in
langchain
PyPI
< 0.0.3120.0.312
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 15, 2023
LangChain vulnerable to arbitrary code execution
Critical9.8Aug 15, 2023
LangChain vulnerable to arbitrary code execution
Critical9.8Aug 15, 2023
langchain Code Injection vulnerability
Critical9.8Aug 5, 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.