Skip to content
HighVulnerability

CVE-2025-1796: langgenius/dify account takeover via predictable password reset codes

Identifier
CVE-2025-1796
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

langgenius/dify v0.10.1 uses `random.randint` to generate password reset codes, which is not suitable for cryptographic use. An attacker with access to workflow tools can extract the PRNG output and predict future reset codes, taking over any account, including administrator accounts.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.