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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-1790Local privilege escalation in Genetec Sipelia Plugin. An aut…5.8
- CVE-2025-1791A vulnerability has been found in Zorlan SkyCaiji 2.9 and cl…9.8
- CVE-2025-1792Mattermost versions 10.7.x <= 10.7.0, 10.5.x <= 10.5.3, 9.11…3.1
- CVE-2025-1793Multiple vector store integrations in run-llama/llama_index …9.8
- CVE-2025-1794The AM LottiePlayer plugin for WordPress is vulnerable to St…5.4
- CVE-2025-1795During an address list folding when a separating comma ends …2.3
- CVE-2025-1797A vulnerability, which was classified as critical, has been …6.3
- CVE-2025-1798The does not sanitise and escape some parameters when outpu…6.1
- CVE-2025-1799A vulnerability, which was classified as critical, was found…6.3
- CVE-2025-1800A vulnerability has been found in D-Link DAR-7000 3.2 and cl…8.8
- CVE-2025-1801A flaw was found in the Ansible aap-gateway. Concurrent requ…8.1
- CVE-2025-1802The HT Mega – Absolute Addons For Elementor plugin for WordP…5.4
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
