CVE-2025-63386
CVE-2025-63386 is a critical-severity vulnerability in Langgenius Dify with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-346.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- EPSS exploit prediction: 0% (11th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-204302
- Weakness: CWE-346
- Affected product: Langgenius Dify
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-63386?
- 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.
- How severe is CVE-2025-63386?
- CVE-2025-63386 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2025-63386 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (11th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-63386?
- CVE-2025-63386 affects Langgenius Dify. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-63386?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-63386 have an EU (EUVD) identifier?
- Yes. CVE-2025-63386 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-204302.
- When was CVE-2025-63386 published?
- CVE-2025-63386 was published on 2025-12-18 and last updated on 2026-06-17.
References
- https://gist.github.com/Cristliu/1610daac87c711ac3e0250c58f5cc4f9
- https://gist.github.com/Cristliu/8ad993126be05c9210c71cc7d49fa112
- https://github.com/langgenius/dify/discussions
- https://github.com/langgenius/dify/pull/32224
Affected products (1)
- cpe:2.3:a:langgenius:dify:1.9.1:*:*:*:*:node.js:*:*
More vulnerabilities in Langgenius Dify
- CVE-2025-56157 — Critical (CVSS 9.8): Default credentials in Dify thru 1.5.1. PostgreSQL username and password specified in the docker-compose.yaml file…
- CVE-2025-63388 — Critical (CVSS 9.1): A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the…
- CVE-2025-1796 — High (CVSS 8.8): A vulnerability in langgenius/dify v0.10.1 allows an attacker to take over any account, including administrator…
- CVE-2024-12776 — High (CVSS 8.1): In langgenius/dify v0.10.1, the `/forgot-password/resets` endpoint does not verify the password reset code, allowing an…
- CVE-2024-12039 — High (CVSS 8.1): langgenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess…
- CVE-2025-43862 — High (CVSS 7.6): Dify is an open-source LLM app development platform. Prior to version 0.6.12, a normal user is able to access and…
All CVEs affecting Langgenius Dify →
Other CWE-346 vulnerabilities
- CVE-2026-42901 — Critical (CVSS 10.0): Origin validation error in Microsoft Entra ID allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-6508 — Critical (CVSS 9.8): Origin Validation Error vulnerability in TUBITAK BILGEM Software Technologies Research Institute Liderahenk allows…
- CVE-2026-2790 — Critical (CVSS 9.8): Same-origin policy bypass in the Networking: JAR component. This vulnerability was fixed in Firefox 148, Firefox ESR…
- CVE-2022-50925 — Critical (CVSS 9.8): Prowise Reflect version 1.0.9 contains a remote keystroke injection vulnerability that allows attackers to send…
- CVE-2025-30466 — Critical (CVSS 9.8): This issue was addressed through improved state management. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS…
- CVE-2024-8487 — Critical (CVSS 9.8): A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS…