CVE-2025-63386CWE-346

CVE-2025-63386

Critical · published December 18, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
13.8
In the wild
Unconfirmed
What it is

🚨 A CORS misconfiguration in Dify v1.9.1 could let any external site craft requests and access your data as if they were your app! 🔥 Imagine a restaurant that allows any delivery service to collect your takeout order without checking their credentials — that’s what this vulnerability does for unauthorized domains! This means an attacker could masquerade as a trusted site and gain access to sensitive user data, making authenticated requests that could compromise not just your application, but your users’ privacy too. It’s a recipe for disaster if left unaddressed!

Put simply

Imagine a restaurant that allows any delivery service to collect your takeout order without checking their credentials — that’s what this vulnerability does for unauthorized domains! The vulnerability arises from the /console/api/setup endpoint reflecting any Origin header and enabling Access-Control-Allow-Credentials: true, which allows arbitrary external domains to make authenticated requests to your server.

What to do

This means an attacker could masquerade as a trusted site and gain access to sensitive user data, making authenticated requests that could compromise not just your application, but your users’ privacy too. It’s a recipe for disaster if left unaddressed! To secure your application, update Dify to the latest version and configure a strict CORS policy that only allows trusted domains. Ensure that Access-Control-Allow-Credentials is set to false unless absolutely necessary! You’ve got this! Follow these steps to secure your app and keep your users safe. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00235 · 13.8th percentile
Weakness
CWE-346 · Origin Validation Error
Published
2025-12-18T21:15Z
Affected products (1)
ProductVersionsFixed in
langgenius/difyall versions—
References (4)
EPSS history
Timeline
  • 18 DEC 00:00Z
    A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/setup endpoint
    cvelistv5