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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-1796— Admin account takeover through weak Pseudo-Random number generator used in generating password reset codes in langgenius/dify

Quick assessment

Affected
langgenius langgenius/dify
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
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.10.1版本存在安全特征问题漏洞,该漏洞源于弱伪随机数生成器可能导致账户接管。

AI Predicted 9.8 Difficulty: Easy EPSS 0.58% · P45
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-1796

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
Admin account takeover through weak Pseudo-Random number generator used in generating password reset codes in langgenius/dify
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in langgenius/dify v0.10.1 allows an attacker to take over any account, including administrator accounts, by exploiting a weak pseudo-random number generator (PRNG) used for generating password reset codes. The application uses `random.randint` for this purpose, which is not suitable for cryptographic use and can be cracked. An attacker with access to workflow tools can extract the PRNG output and predict future password reset codes, leading to a complete compromise of the application.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
使用具有密码学弱点缺陷的PRNG
Source: CVE Program / CVE List V5
Vulnerability Title
dify 安全特征问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
dify是LangGenius开源的一个开源的 LLM 应用程序开发平台。 dify v0.10.1版本存在安全特征问题漏洞,该漏洞源于弱伪随机数生成器可能导致账户接管。
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 ~ latest -

II. Public POCs for CVE-2025-1796

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-1796

登录查看更多情报信息。

Vendor Advisories for CVE-2025-1796 (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-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
CVE-2024-10252 Code Injection in langgenius/dify

IV. Related Vulnerabilities

V. Comments for CVE-2025-1796

No comments yet


Leave a comment