Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-2828— SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain

Quick assessment

Affected
langchain-ai langchain-ai/langchain
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LangChain是LangChain开源的一个用于开发由大型语言模型 (LLM) 提供支持的应用程序的框架。 LangChain 0.0.27版本存在代码问题漏洞,该漏洞源于RequestsToolkit组件未限制请求地址,可能导致服务端请求伪造。

AI Predicted 6.5 Difficulty: Easy EPSS 21.02% · P98
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-2828

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SSRF Vulnerability in RequestsToolkit in langchain-ai/langchain
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
LangChain 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LangChain是LangChain开源的一个用于开发由大型语言模型 (LLM) 提供支持的应用程序的框架。 LangChain 0.0.27版本存在代码问题漏洞,该漏洞源于RequestsToolkit组件未限制请求地址,可能导致服务端请求伪造。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
langchain-ai langchain-ai/langchain unspecified ~ 0.0.28 -

II. Public POCs for CVE-2025-2828

# POC Description Source Link Shenlong Link
1 Blackash-CVE-2025-2828 https://github.com/B1ack4sh/Blackash-CVE-2025-2828 POC Details
2 Blackash-CVE-2025-2828 https://github.com/Ashwesker/Blackash-CVE-2025-2828 POC Details
3 Blackash-CVE-2025-2828 https://github.com/Ashwesker/Ashwesker-CVE-2025-2828 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-2828

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-2828

No comments yet


Leave a comment