CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Langgenius

CVE-2025-1796
Langgenius Dify vulnerability

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

Dify. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Langgenius Dify runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Langgenius products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.