9.8

CVE-2023-38860: langchain Code Injection

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-fj32-q626-pjjcPYSEC-2023-145
Published 15-08-2023Last modified 09-10-2024

Vulnerability summary

CVE-2023-38860 is a critical (CVSS 9.8) Code Injection vulnerability in langchain. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.42%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 15-08-2023
    PublishedVulnerability first disclosed.
  2. 09-10-2024
    Last modifiedVulnerability information updated.

Description

An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

1.42%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

0.00 pp

From 1.42% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.42%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Langchain

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Langchain1 product
PyPI1 product
  • langchain< 0.0.247

2 vendors · 2 products

References

10 links