10

CVE-2025-2828: SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain

Analyzed
AliasesGHSA-h5gc-rm8j-5gprPYSEC-2025-70
Published 23-06-2025Last modified 24-06-2025

Vulnerability summary

CVE-2025-2828 is a critical (CVSS 10.0) Server-Side Request Forgery vulnerability in langchain-ai langchain-ai/langchain. EPSS estimates a 22.04% chance of exploitation in the next 30 days, higher than 97.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
Critical · v3.1 (NVD)
EPSS score
22.04%
0%100%
High · +1.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Timeline

  1. 23-06-2025
    PublishedVulnerability first disclosed.
  2. 24-06-2025
    Last modifiedVulnerability information updated.

Description

A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package (specifically, langchain_community.agent_toolkits.openapi.toolkit.RequestsToolkit) in langchain-ai/langchain version 0.0.27. This vulnerability occurs because the toolkit does not enforce restrictions on requests to remote internet addresses, allowing it to also access local addresses. As a result, an attacker could exploit this flaw to perform port scans, access local services, retrieve instance metadata from cloud environments (e.g., Azure, AWS), and interact with servers on the local network. This issue has been fixed in version 0.0.28.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

22.04%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

Increase +1.02 pp

From 21.02% 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: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Langchain1 product
Langchain-ai1 product
PyPI1 product
  • langchain-community< e188d4ecb085d4561a0be3c583d26aa9c2c3283f | < 0.0.28

3 vendors · 3 products

References

6 links