cve.bz

CVE-2023-29374

9.8 criticalEPSS 40%

Critical (9.8) in langchain langchain. EPSS 40% chance of exploitation in the next 30 days. Fixed in langchain 0.0.132.

In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.

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
40% chance of exploitation in the next 30 days; higher than 98% of CVEs (scores of 2026-10-31)
CWE
CWE-74
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fprp-p869-w6q2PyPIlangchain<=0.0.131no fix published
PYSEC-2023-18PyPIlangchain<0.0.1320.0.132

References

Check your stackJSON