8.1

CVE-2024-28088: langchain Path Traversal

CVSS: 8.1v3.1HighAnalyzed
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) Path Traversal vulnerability in langchain. EPSS estimates a 1.74% chance of exploitation in the next 30 days, higher than 77.3% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
1.74%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.74%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

0.00 pp

From 1.74% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.74%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Poc Langchain Rce

    Maturity: poc

  • githubUnverified

    Langchain

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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