SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain (langchain-ai langchain-ai/langchain)

CVE-2025-2828
HIGH 8.4

En bref

Source
NVD
EPSS
EPSS 21.02 % · centile 98 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
@huntr_ai
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-918 — Falsification de requête côté serveur (SSRF)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0HIGH 8.4CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H@huntr_ai
CVSS 3.1CRITICAL 10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.0HIGH 8.4CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:HNVD · security@huntr.dev (Secondary)

Avis

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
langchain-ai · langchain-ai/langchainaffected unspecified < 0.0.28

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD