7.7

CVE-2024-3095: langchain-ai langchain-ai/langchain Server-Side Request Forgery (SSRF)

CVSS: 7.7v3.1HighModified
AliasesGHSA-q25c-c977-4cmhPYSEC-2026-1516
Published 06-06-2024Last modified 01-08-2024

Vulnerability summary

CVE-2024-3095 is a high (CVSS 7.7) Server-Side Request Forgery (SSRF) vulnerability in langchain-ai langchain-ai/langchain. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 51.9% of scored vulnerabilities. 1 public exploit is recorded.

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

Timeline

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

Description

A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web Research Retriever does not restrict requests to remote internet addresses, allowing it to reach local addresses. This flaw enables attackers to execute port scans, access local services, and in some scenarios, read instance metadata from cloud environments. The vulnerability is particularly concerning as it can be exploited to abuse the Web Explorer server as a proxy for web attacks on third parties and interact with servers in the local network, including reading their response data. This could potentially lead to arbitrary code execution, depending on the nature of the local services. The vulnerability is limited to GET requests, as POST requests are not possible, but the impact on confidentiality, integrity, and availability is significant due to the potential for stolen credentials and state-changing interactions with internal APIs.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.69%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

0.00 pp

From 0.69% on 19-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Langchain1 product
Langchain-ai1 product
PyPI1 product
  • langchain-community< 0.2.9

3 vendors · 3 products

References

8 links