CVE-2025-1796Langgenius Dify
High 8.8
Follow: this CVE · Langgenius · Langgenius Dify We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- Yes
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-338
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Dify.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| langgenius | dify | 0.10.1 |
Official sources
References
Links published by the sources. Open them with care.
- huntr.com Exploit Third Party Advisory