CVE-2023-38896: langchain Injection
CVSS: 9.8v3.1CriticalModified
AliasesGHSA-92j5-3459-qgp4PYSEC-2023-146
Published 15-08-2023Last modified 09-10-2024
Vulnerability summary
CVE-2023-38896 is a critical (CVSS 9.8) Injection vulnerability in langchain. EPSS estimates a 1.84% chance of exploitation in the next 30 days, higher than 78.7% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
1.84%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 15-08-2023PublishedVulnerability first disclosed.
- 09-10-2024Last modifiedVulnerability information updated.
Description
An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.
CVSS metrics
2 scores · 2 sources · 1 versionCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.84%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
0.00 pp
From 1.84% on 21-09-2026
21-09-202621-10-2026
EPSS score1.84%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundLangchain
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Langchain1 product
- langchain≤ 0.0.194
PyPI1 product
- langchain< 0.0.236 | < 0.0.195
2 vendors · 2 products