CVE-2023-29374
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 39.7%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
Description
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 39.65% probability · 99th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- langchain/langchain
- Source
- cve@mitre.org
EPSS 39.7% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/hwchase17/langchain/issues/1026Issue Tracking
- https://github.com/hwchase17/langchain/issues/814Exploit, Issue Tracking, Patch
- https://github.com/hwchase17/langchain/pull/1119Patch
- https://twitter.com/rharang/status/1641899743608463365/photo/1Exploit
- https://github.com/hwchase17/langchain/issues/1026Issue Tracking
- https://github.com/hwchase17/langchain/issues/814Exploit, Issue Tracking, Patch
- https://github.com/hwchase17/langchain/pull/1119Patch
- https://twitter.com/rharang/status/1641899743608463365/photo/1Exploit
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.