Skip to main content
VulnerabilityPublished Updated

CVE-2025-63388: dify · Origin Validation Error

Affects difySource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 26 Oct 2026, 13:47 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 12% 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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHublanggenius/difypkg:github/langgenius/difyOther threatsAffected
  • =1.9.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately restrict the CORS policy on the /console/api/system-features endpoint to allow only trusted origins explicitly, avoiding reflection of arbitrary Origin headers.
  2. Set Access-Control-Allow-Credentials to false unless absolutely necessary, and if used, ensure strict origin validation.
  3. Implement server-side validation of Origin headers against a whitelist of allowed domains to prevent unauthorized cross-origin requests.
  4. Employ Content Security Policy (CSP) headers to limit the domains that can interact with the application.
  5. Monitor network traffic and logs for unusual cross-origin requests or suspicious activities targeting the vulnerable endpoint.
  6. If possible, disable or restrict access to the /console/api/system-features endpoint until a patch is released.
  7. Engage with the vendor for timely updates and patches, and apply them as soon as they become available.
  8. Conduct penetration testing and code reviews focused on CORS configurations across all web-facing services.
  9. Educate developers and administrators on secure CORS implementation best practices to prevent similar vulnerabilities.

Description

A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/system-features endpoint. The endpoint implements an overly permissive CORS policy that reflects arbitrary Origin headers and sets Access-Control-Allow-Credentials: true, allowing any external domain to make authenticated cross-origin requests. NOTE: the Supplier disputes this, providing the rationale of "sending requests with credentials does not provide any additional access compared to unauthenticated requests."

References

Community reviews

Loading reviews…