High severity8.8NVD Advisory· Published Mar 20, 2025· Updated Jun 17, 2026
CVE-2025-1796
CVE-2025-1796
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- langgenius/langgenius/difyv5Range: unspecified
<=0.10.1+ 1 more
- (no CPE)range: <=0.10.1
- cpe:2.3:a:langgenius:dify:0.10.1:*:*:*:*:node.js:*:*
Patches
Vulnerability mechanics
References
1- huntr.com/bounties/a60f3039-5394-4e22-8de7-a7da9c6a6e00nvdExploitThird Party Advisory
News mentions
0No linked articles in our index yet.