BreachSpiderVerified, not vibes

CVE-2025-2828 in Langchain

Critical 10.0

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 res...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.110.0
EPSS0.8%
EPSS percentile55th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Langchain Langchain < 0.0.28

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-2828
BreachSpider IDBS-2025-GLOBAL-038600-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published2025-06-23
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package, allowing unauthorized access to local and remote resources.

The vulnerability arises from the lack of restrictions on the URLs that can be requested by the RequestsToolkit, enabling attackers to manipulate the toolkit to make requests to arbitrary URLs, including internal network resources.

Questions

What is CVE-2025-2828?

A critical Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package, allowing unauthorized access to local and remote resources.

What is the CVSS score for CVE-2025-2828?

CVE-2025-2828 has CVSS 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.8%.

Is CVE-2025-2828 actively exploited?

No confirmed active exploitation of CVE-2025-2828 as of 2026-09-25.

How do I remediate CVE-2025-2828?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-2828?

CVE-2025-2828 affects Langchain Langchain.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Langchain","product":"Langchain","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.