CVE Explore

SSRF in Langchain

CVE-2025-2828

CVSS v3
10.0 Critical
Public exploits
1 repository
EPSS
0.219 · 97.7th percentile
Published
2025-06-23

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.

Vulnerability class: SSRF (Server-Side Request Forgery)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Changed S:C
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.219, 97.7th percentile (last changed ); up from 0.210 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-2828: rose from 0.210 to 0.219.

EPSS over last 30 days · oldest: 0.210 · newest: 0.219 · change: +0.008

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

Also mentioned in 2 other repositories (nomi-sec/PoC-in-GitHub, tanjiti/sec_profile). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References