CRITICAL🇵🇱 Wersja polska

CVE-2025-63386

CVSS 9.1v3.1pub. 2025-12-18upd. 2026-02-11

A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/setup endpoint. The endpoint implements an insecure CORS policy that reflects any Origin header and enables Access-Control-Allow-Credentials: true, permitting arbitrary external domains to make authenticated requests. NOTE: the Supplier disputes this because the endpoint configuration is intentional to support bootstrap.

🤖 AI Analysis
How it works

The /console/api/setup endpoint reflects any value of the Origin header passed by the client and simultaneously returns the Access-Control-Allow-Credentials: true header. This means that the victim's browser will accept the response from any domain controlled by the attacker, including session cookies or other authentication data in the request. An attacker can thus trick a logged-in user into visiting a malicious website that performs an authenticated request to the endpoint in the background. The manufacturer disputes the report, indicating that such configuration is intentional to support the initialization (bootstrap) process.

Impact

An attacker can exploit this vulnerability to gain unauthorized access to sensitive data (confidentiality breach) and to modify application configuration (integrity breach) in the context of the victim's authenticated session.

Mitigation & patch

Patches available from the manufacturer should be applied in accordance with the references (see pull request #32224 in the langgenius/dify GitHub repository). It is recommended to restrict the list of allowed origins in the CORS configuration to trusted domains only instead of dynamically reflecting the Origin header, and also to consider disabling the Access-Control-Allow-Credentials flag for publicly accessible endpoints without authentication.

Who is affected

Langgenius Dify v1.9.1 — /console/api/setup endpoint

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Langgenius Dify

    APP
    Langgenius
    1.9.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2025-56157CRITICAL9.8PL ✓same product

Domyślne dane uwierzytelniające PostgreSQL w Langgenius Dify

CVE-2025-63388CRITICAL9.1PL ✓same product

Błędna konfiguracja CORS w Dify — nieograniczony dostęp cross-origin z uwierzytelnieniem

CVE-2025-63387HIGH7.5same product

Dify v1.9.1 is vulnerable to Insecure Permissions. An unauthenticated attacker can directly send HTTP GET requ...

CVE-2025-3466HIGH7.2same product

langgenius/dify versions 1.1.0 to 1.1.2 are vulnerable to unsanitized input in the code node, allowing executi...

CVE-2025-43862HIGH7.6same product

Dify is an open-source LLM app development platform. Prior to version 0.6.12, a normal user is able to access ...