7.7

CVE-2024-3095: SSRF in Langchain Web Research Retriever in langchain-ai/langchain

Modified
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 vulnerability in langchain-ai langchain-ai/langchain. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 54.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.8, physical access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.7/10
010
High · v3.1 (NVD)
EPSS score
0.69%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

54%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.69% 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

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

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

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

3 vendors · 3 products

References

8 links