9.8

CVE-2024-2057: langchain Server-Side Request Forgery (SSRF)

CVSS: 9.8v3.1CriticalAnalyzed
AliasesPYSEC-2024-278
Published 01-03-2024Last modified 01-08-2024

Vulnerability summary

CVE-2024-2057 is a critical (CVSS 9.8) Server-Side Request Forgery (SSRF) vulnerability in langchain. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.4% 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
0.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

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

Description

A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the function load_local in the library libs/community/langchain_community/retrievers/tfidf.py of the component TFIDFRetriever. The manipulation leads to server-side request forgery. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.0.27 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-255372.

CVSS metrics

6 scores · 3 sources · 3 versions

EPSS trend

Probability

0.58%

Chance of exploitation in the next 30 days

Percentile

46%

Versus all other CVEs

30-day change

0.00 pp

From 0.58% on 19-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Vul Cve 16

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Langchain2 products
PyPI1 product
  • langchain-community≤ 0.0.26

2 vendors · 3 products

References

5 links