CVE-2023-29374

Published Apr 5, 2023 CVSS 3.1 · 9.8 Critical EPSS 39.7% KEV · Not listed
Description
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0118 In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
Github GHSA Github GHSA GHSA-fprp-p869-w6q2 LangChain vulnerable to code injection
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Feb 12, 2025, 4:24 PM
Reserved
Apr 5, 2023, 12:00 AM
Status
Modified
Published
Apr 5, 2023, 2:15 AM
Modified
Jun 17, 2026, 5:49 AM