{"id":"CVE-2025-63386","title":"A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/setup endpoint","summary":"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-Al…","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-346"],"vendor":"langgenius","product":"dify","affected":["dify = 1.9.1"],"published":"2025-12-18","updated":"2026-10-13","sourceUpdated":"2026-10-13T11:10:00.203","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-63386","references":[{"url":"https://gist.github.com/Cristliu/1610daac87c711ac3e0250c58f5cc4f9","label":"cve@mitre.org"},{"url":"https://gist.github.com/Cristliu/8ad993126be05c9210c71cc7d49fa112","label":"cve@mitre.org"},{"url":"https://github.com/langgenius/dify/discussions","label":"cve@mitre.org"},{"url":"https://github.com/langgenius/dify/pull/32224","label":"cve@mitre.org"}],"tags":["nvd"],"epss":0.00235,"epssPercentile":0.1337,"ingestedAt":"2026-10-13T11:23:51.134Z","slug":"CVE-2025-63386","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `dify = 1.9.1`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":50,"depthScoreParts":{"impact":50.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}