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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-10252— Code Injection in langgenius/dify

Quick assessment

Affected
langgenius langgenius/dify
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.

dify是LangGenius开源的一个开源的 LLM 应用程序开发平台。 dify v0.9.1及之前版本存在代码注入漏洞,该漏洞源于内部SSRF请求可能导致代码注入,从而删除整个沙箱服务。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.81% · P55
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-10252

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
Code Injection in langgenius/dify
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in langgenius/dify versions <=v0.9.1 allows for code injection via internal SSRF requests in the Dify sandbox service. This vulnerability enables an attacker to execute arbitrary Python code with root privileges within the sandbox environment, potentially leading to the deletion of the entire sandbox service and causing irreversible damage.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
dify 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
dify是LangGenius开源的一个开源的 LLM 应用程序开发平台。 dify v0.9.1及之前版本存在代码注入漏洞,该漏洞源于内部SSRF请求可能导致代码注入,从而删除整个沙箱服务。
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
langgenius langgenius/dify unspecified ~ 0.2.10 -

II. Public POCs for CVE-2024-10252

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: code injection confirmed — injected python executed as uid=65537 and exfiltrated proof token PROOF_965ad5c743175ca5 via sandbox stdout
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 3764 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-10252

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

Patches & Fixes for CVE-2024-10252 (1)

Vendor Advisories for CVE-2024-10252 (1)

Same Patch Batch · langgenius · 2025-03-20 · 11 CVEs total

CVE-2025-0185 Pandas Query Injection in langgenius/dify
CVE-2025-0184 Server-Side Request Forgery (SSRF) in langgenius/dify
CVE-2025-1796 Admin account takeover through weak Pseudo-Random number generator used in generating pass
CVE-2024-12775 SSRF in langgenius/dify
CVE-2024-12039 Improper Restriction of Excessive Authentication Attempts in langgenius/dify
CVE-2024-12776 Authentication Bypass in langgenius/dify
CVE-2024-11822 Server-Side Request Forgery (SSRF) in langgenius/dify
CVE-2024-11850 Stored XSS in langgenius/dify
CVE-2024-11824 Stored XSS in langgenius/dify
CVE-2024-11821 Privilege Escalation in langgenius/dify

IV. Related Vulnerabilities

V. Comments for CVE-2024-10252

No comments yet


Leave a comment