CVE-2025-1796
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.
- Affected products
- Langgenius/Dify
- Langgenius Dify
- = 0.10.1
- Fix
- Available
- CVSS 3.1
- 8.8 HIGH
- EPSS
- 0.6% (46th percentile)
- Weakness
- CWE-338
- NVD status
- Analyzed
- Published
- 2025-03-20
CVE-2025-1796 at NVD
No indexed exploits for CVE-2025-1796 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2025-1796 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.