CVE-2025-63386: dify · Origin Validation Error
Affects difySource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHublanggenius/difypkg:github/langgenius/difyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately audit their use of Dify, specifically version 1.9.1, and the exposure of the /console/api/setup endpoint. If possible, restrict access to this endpoint via network controls such as IP whitelisting or VPN-only access. Implement strict validation of the Origin header on the server side to allow only trusted domains and disable Access-Control-Allow-Credentials unless absolutely necessary. If the bootstrap functionality requires this configuration, consider alternative secure bootstrap methods that do not expose such broad CORS permissions. Monitor logs for suspicious cross-origin requests and unauthorized access attempts. Engage with the vendor or community to obtain or develop patches that properly secure the CORS policy. In the interim, consider deploying Web Application Firewalls (WAFs) with rules to block suspicious CORS headers or anomalous requests targeting the vulnerable endpoint. Educate developers and administrators about the risks of insecure CORS configurations and enforce secure coding practices for future deployments.
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.