CVE-2026-6589 Details
Description
A security vulnerability has been detected in ComfyUI up to 0.13.0. This affects the function create_origin_only_middleware of the file server.py. The manipulation leads to cross-site request forgery. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A cross-site request forgery (CSRF) vulnerability has been identified in ComfyUI versions through 0.13.0. The issue arises in the 'create_origin_only_middleware' function within 'server.py', where the middleware fails to properly validate the 'Origin' header. This flaw allows remote attackers to bypass CSRF protections and exploit the vulnerability. The lack of authentication in ComfyUI further exacerbates the issue, as it leaves the application open to unauthorized access via the victim's browser.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 20, 2026CISA-ADP
Assessed Apr 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/d314f8120e47601dfa3ac8b899f12d1f | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/791108 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/358224 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/358224/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ComfyUI | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 20, 2026 | New CVE Received | [email protected] |
Volerion