8.1

CVE-2024-28088: langchain

Analyzed
AliasesGHSA-h59x-p739-982cPYSEC-2024-43PYSEC-2024-45
Published 03-03-2024Last modified 26-08-2024

Vulnerability summary

CVE-2024-28088 is a high (CVSS 8.1) vulnerability in langchain. EPSS estimates a 1.73% chance of exploitation in the next 30 days, higher than 78.3% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
1.73%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github

Timeline

  1. 03-03-2024
    PublishedVulnerability first disclosed.
  2. 26-08-2024
    Last modifiedVulnerability information updated.

Description

LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution. (A patch is available as of release 0.1.29 of langchain-core.)

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

1.73%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 1.74% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Poc Langchain Rce

    Maturity: poc

  • githubUnverified

    Langchain

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

PyPI2 products
  • langchain< 0.0.339 | < 0.1.11
  • langchain-core< 0.1.30 | < 0.1.11
Langchain1 product

2 vendors · 3 products

References

9 links