CVE-2025-63386
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-12-18
- Last modified
- 2026-10-13
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.2 %
higher than 13 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Langgenius | Dify | 1.9.1 | Affected |
Weakness type
-
CWE-346: Origin Validation Error
The product does not properly verify that the source of data or communication is valid.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1134: Access Token Manipulation
- T1134.001: Token Impersonation/Theft
- T1528: Steal Application Access Token
- T1539: Steal Web Session Cookie
- T1550.004: Web Session Cookie
- T1557.002: ARP Cache Poisoning
- T1584.002: DNS Server
References
- https://gist.github.com/Cristliu/1610daac87c711ac3e0250c58f5cc4f9
- https://github.com/langgenius/dify/discussions
- https://gist.github.com/Cristliu/8ad993126be05c9210c71cc7d49fa112
- https://github.com/langgenius/dify/pull/32224
Related at Berigo
Articles
-
Only one of the 91 vulnerabilities Spring patched is rated critical
Same product
2026-08-25
Spring has patched 91 vulnerabilities spread across a range of subprojects, and the advisories on spring.io are dated 20 August. Spring rates one of …
-
A critical GitLab flaw can allow project deletion without login
Same product
2026-08-18
On 17 August 2026 GitLab shipped an out of band patch release. It fixes two vulnerabilities in the GraphQL layer, the more serious one scoring CVSS 9…
-
Cursor can execute a malicious file from a repository
Same product
2026-07-14
Mindgard has shown that Cursor on Windows can execute a malicious git.exe placed in a repository root without prompting the user.
-
Arbitrary file overwrite vulnerability in FreeBSD
Same product
2026-06-06
CVE-2026-45257 in FreeBSD kernel TLS lets a local user with read access overwrite a file's contents, enabling privilege escalation.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.