CVE-2025-2828
published high CVSS 3.0 · 8.4SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| langchain-ai | — | langchain-ai/langchainunspecified to < 0.0.28 | Affected | Not stated | @huntr_ai |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| langchain-ai | langchain-ai/langchain | unspecified to < 0.0.28 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
References
2Provider assertions
2@huntr_ai · cna
SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2a982354cd8f3abf4f02fdfdd5b318a933699ede12d8e02607144fce48856a9d
- Ingested
- 23 Sep 2026, 08:43:47 UTC
- Source record
- Official CVE record