CVE-2025-1796
Last modified
CVE-2025-1796 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langgenius | Dify | 0.10.1 |
References
- https://huntr.com/bounties/a60f3039-5394-4e22-8de7-a7da9c6a6e00Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-1796?
How severe is CVE-2025-1796?
How do I fix CVE-2025-1796?
Are you affected by CVE-2025-1796?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
