cvedb.io
CVE-2025-1796
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2025-03-20T10:15:54.157 · Last modified 2026-06-17T08:39:47.493

Summary

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.

Affected products

langgenius — dify

Does this affect you?

Add your gear to cvedb and we'll alert you only when langgenius ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.