NetSight
critical9.8

CVE-2023-36281

langchain vulnerable to arbitrary code execution

Impact

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 packages

EcosystemPackageAffectedFixed in
piplangchain< 0.0.3120.0.312

Affected products

VendorProductAffected versions
LangchainLangchain
Version 0.0.171

Weakness classification

References