# CVE-2025-63386: A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/setup endpoint.

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-12-18T00:00:00.000Z
- Modified: 2026-10-13T11:10:00.203Z
- Weaknesses: CWE-346
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- langgenius dify: 1.9.1

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/langgenius/dify/discussions> (issue-tracking)
- <https://gist.github.com/Cristliu/1610daac87c711ac3e0250c58f5cc4f9> (third-party-advisory)
- <https://gist.github.com/Cristliu/8ad993126be05c9210c71cc7d49fa112>
- <https://github.com/langgenius/dify/pull/32224>

## Sources

- CVE List: [CVE-2025-63386](https://www.cve.org/CVERecord?id=CVE-2025-63386), CVE Terms of Use, modified 2026-02-11
- NVD: [CVE-2025-63386](https://nvd.nist.gov/vuln/detail/CVE-2025-63386), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-63386 · Whole record: https://cve.day/CVE-2025-63386.json · Rebuilt by cve.day 2026-11-25T22:59:09.696Z
