CVE-2025-11750: Dify - User Enumeration via "Account not found" Message
- Template: CVE-2025-11750
- Name: Dify - User Enumeration via "Account not found" Message
- Description: A user enumeration vulnerability exists in langgenius/dify, where the login API leaks information about whether a user account exists or not. When an invalid/non-existent email is used during login, the API returns a distinct error message such as "account_not_found" or "Account not found.", allowing attackers to identify valid accounts.
- Impact: Attackers can enumerate valid user accounts through distinct error messages returned by the login API, facilitating targeted credential stuffing and phishing attacks against Dify installations.
- Remediation: Upgrade to the patched version of Dify that implements generic error messages for authentication failures.
- Severity: medium
- Authors: Kazgangap
- Tags: cve, cve2025, langgenius, dify, user-enum, vuln
- References: https://huntr.com/bounties/e7359f9f-c004-4304-9de9-753622d370a1, https://github.com/Kazgangap/cve-poc-garage/blob/main/2025/CVE-2025-11750.md, https://github.com/langgenius/dify/issues/24323, https://github.com/langgenius/dify/pull/25369
- Cves: CVE-2025-11750
- Verified: yes
- Directory: http/cves
- Path: http/cves/2025/CVE-2025-11750.yaml
- Digest: 4a0a00473045022100fe013d1d3ac5082d23151fb2703594e7dfa38cc04c9d6af149f12bc1a8fcdf39022007deb67d4c06ca76cfa30db25296b5848916aacb75863f2f82ea7da2f329fab7
- Created at: 2025-10-22T05:32:03Z
- Updated at: 2025-12-15T12:28:58Z
- Age in days: 398
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-11750.yaml
- Not known: max requests
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: icon_hash="97378986"
- Product: dify
- Shodan-query: http.favicon.hash:"97378986"
- Vendor: langgenius
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| langgenius:dify | yes | /v1/products/langgenius/dify |
Labels
- Name: langgenius/dify-web - User Enumeration
- Impact: Attackers can enumerate valid user accounts, facilitating targeted social engineering, brute force, or credential stuffing attacks.
- Remediation: Update to the latest version of langgenius/dify-web.
- Vulnerability type: broken_authentication
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- From cve: CVE-2025-11750
- Not known: requirements
```yaml
id: CVE-2025-11750
info:
name: Dify - User Enumeration via "Account not found" Message
author: Kazgangap
severity: medium
description: |
A user enumeration vulnerability exists in langgenius/dify, where the login API leaks information about whether a user account exists or not. When an invalid/non-existent email is used during login, the API returns a distinct error message such as "account_not_found" or "Account not found.", allowing attackers to identify valid accounts.
impact: |
Attackers can enumerate valid user accounts through distinct error messages returned by the login API, facilitating targeted credential stuffing and phishing attacks against Dify installations.
remediation: |
Upgrade to the patched version of Dify that implements generic error messages for authentication failures.
reference:
- https://huntr.com/bounties/e7359f9f-c004-4304-9de9-753622d370a1
- https://github.com/Kazgangap/cve-poc-garage/blob/main/2025/CVE-2025-11750.md
- https://github.com/langgenius/dify/issues/24323
- https://github.com/langgenius/dify/pull/25369
metadata:
verified: true
vendor: langgenius
product: dify
shodan-query: http.favicon.hash:"97378986"
fofa-query: icon_hash="97378986"
tags: cve,cve2025,langgenius,dify,user-enum,vuln
variables:
fake_email: "{{to_lower(rand_text_alphanumeric(16))}}@{{to_lower(rand_text_alphanumeric(16))}}.com"
fake_password: "{{rand_text_alphanumeric(16)}}"
flow: http(1) && http(2)
http:
- raw:
- |
GET /signin HTTP/1.1
Host: {{Hostname}}
host-redirects: true
max-redirects: 2
matchers:
- type: dsl
dsl:
- 'contains(body, "<title>Dify")'
- "status_code == 200"
condition: and
internal: true
- raw:
- |
POST /console/api/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"email":"{{fake_email}}","password":"{{fake_password}}","language":"en-EN","remember_me":true}
matchers:
- type: dsl
dsl:
- 'contains_all(body, "account_not_found", "message")'
- 'contains(content_type, "application/json")'
- 'status_code == 400'
condition: and
digest: 4a0a00473045022100fe013d1d3ac5082d23151fb2703594e7dfa38cc04c9d6af149f12bc1a8fcdf39022007deb67d4c06ca76cfa30db25296b5848916aacb75863f2f82ea7da2f329fab7:922c64590222798bb761d5b6d8e72950
```