← Vulnerability feed

Vulnerability record · CVE-2025-1796 · published 20 March 2025

CVE-2025-1796: Langgenius dify vulnerability

LLanggenius · Dify

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.

8.8 CVSS 3.1 High EPSS 0.59% · top 53.8% CWE-338 · CWE-338
8.8CVSS 3.1 base score
0.59%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-1796 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-56157Langgenius dify hard-coded credentials vulnerabilityDefault credentials in Dify thru 1.5.1. PostgreSQL username and password specified in the docker-compose.yaml file included in its source code. NOTE:…EPSS 0.86%9.1CVE-2025-63386Langgenius dify origin validation error vulnerabilityA Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/setup endpoint. The endpoint implemen…EPSS 0.24%9.1CVE-2025-63388Langgenius dify origin validation error vulnerabilityA Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/system-features endpoint. The endpoin…EPSS 0.22%8.1CVE-2024-12776Langgenius dify vulnerabilityIn langgenius/dify v0.10.1, the `/forgot-password/resets` endpoint does not verify the password reset code, allowing an attacker to reset the passwor…EPSS 0.65%8.1CVE-2024-12039Langgenius dify improper restriction of authentication attempts vulnerabilitylanggenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess attempts for password reset. T…EPSS 0.67%7.6CVE-2025-43862Langgenius dify improper access control vulnerabilityDify is an open-source LLM app development platform. Prior to version 0.6.12, a normal user is able to access and modify APP orchestration, even thou…EPSS 0.34%7.6CVE-2024-11824Langgenius dify cross-site scripting vulnerabilityA stored cross-site scripting (XSS) vulnerability exists in langgenius/dify version latest, specifically in the chat log functionality. The vulnerabi…EPSS 0.47%7.5CVE-2025-63387Langgenius dify improper access control vulnerabilityDify v1.9.1 is vulnerable to Insecure Permissions. An unauthenticated attacker can directly send HTTP GET requests to the /console/api/system-feature…EPSS 30%

Source: NIST National Vulnerability Database (record CVE-2025-1796), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.