CRITICAL · CVSS 10 Published: 2025-06-23

CVE-2025-2828 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-2828
Base Severity / ScoreCRITICAL (10 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness ClassificationCWE-918
Archive CategoriesCRITICAL Advisories · 2025 Index

Operational Mitigation Guidance

Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-2827 MEDIUM 4.3
CVE-2025-2829 HIGH 7.8
CVE-2025-28256 CRITICAL 9.8
CVE-2025-28384 CRITICAL 9.1
CVE-2025-28386 CRITICAL 9.8
CVE-2025-28388 CRITICAL 9.8
CVE-2025-28389 CRITICAL 9.8
CVE-2025-28399 CRITICAL 9.8