CVE-2025-1796HIGH 8.8EPSS p39.1%
CVE-2025-1796CVE-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.
Scoring
| CVSS 3.1 | 8.8 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.50% probability of exploitation · percentile 39.1% · 2026-06-19T12:03:05Z |
| Published | 2025-03-20 |
| Last modified | 2025-07-16 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)cwe-338 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.