CVE Catalog

CVE-2023-36281

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.83%

85th percentile - higher than 85% of all known CVEs

Summary

Version 0.0.171 of the langchain library contains a vulnerability that allows a remote attacker to execute arbitrary code via a JSON file used in load_prompt. This issue is related to __subclasses__ or a template.

Risk Assessment

Organizations using this version of langchain are at risk of remote code execution, which could lead to serious security breaches and data loss.

Recommendation

It is recommended to update the langchain library to the latest version to mitigate this vulnerability and conduct a security audit of applications using this library.

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS