AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LangChainGHSA-7gfq-f96f-g85j

langchain vulnerable to arbitrary code execution

LangChain

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

Critical9.8
Fix: upgrade to 0.0.312 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
langchain
PyPI
< 0.0.3120.0.312
Details and references

More LangChain advisories

All LangChain