CVE-2025-1796 – “Langgenius Dify PRNG Predictable Password Reset Code Vulnerability”

The following table lists the changes that have been made to the
CVE-2025-1796 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    Mar. 20, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-338
    Added Reference https://huntr.com/bounties/a60f3039-5394-4e22-8de7-a7da9c6a6e00
Share the Post:

Related Posts