cve.bz

CVE-2023-36281

9.8 criticalEPSS 3.4%

Critical (9.8) in langchain langchain. EPSS 3.4% chance of exploitation in the next 30 days. Fixed in langchain 0.0.171, 0.0.312.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.4% chance of exploitation in the next 30 days; higher than 88% of CVEs (scores of 2026-10-31)
CWE
CWE-94
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7gfq-f96f-g85jPyPIlangchain<0.0.3120.0.312
PYSEC-2023-151PyPIlangchain<0.0.1710.0.171

References

Check your stackJSON