Skip to content
CriticalVulnerability

CVE-2025-2828: langchain-community RequestsToolkit SSRF allows access to local addresses

Identifier
CVE-2025-2828
Published
Record updated
View JSON
Affected
  • langchain-community < 0.0.28
Fixed in
0.0.28
  • released March 12, 2024, 469 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
21.0%

Summary

CVE-2025-2828 is a Server-Side Request Forgery (SSRF) flaw in the RequestsToolkit component of the langchain-community package (langchain_community.agent_toolkits.openapi.toolkit.RequestsToolkit) in langchain-ai/langchain version 0.0.27. The toolkit does not restrict requests to local addresses, so an attacker could port scan, reach local services, retrieve cloud instance metadata (such as Azure and AWS), and interact with servers on the local network.

Mitigation

Fixed in version 0.0.28.