PoC Monitor
← All CVEs
CVE-2025-2828published 23 Jun 2025 20:42 UTCData: JSON · API

Langchain-ai langchain-ai/langchain

SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS10.0critical · scored by NVD · CWE-918
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

langchain-ai langchain-ai/langchain
  • >= unspecified, < 0.0.28

Fixed in 0.0.28

Mitigation

Upgrade langchain-ai/langchain to 0.0.28 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published23 Jun 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 pending

Pending 1
RepositoryCreatedStarsAssessment
B1ack4sh/Blackash-CVE-2025-2828 unknown 0 Pending · repository unavailable (HTTP 404)

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.