CSRF in Comfyui
CVE-2026-6589
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (11.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 12th percentile — 11.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.001
Affected products
- Comfyui — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
References
- vuldb.com/vuln/358224 (technical-description, vdb-entry)
- vuldb.com/vuln/358224/cti (signature, permissions-required)
- vuldb.com/submit/791108 (third-party-advisory)
- gist.github.com/YLChen-007/d314f8120e47601dfa3ac8b899f12d1f (exploit)
Frequently asked questions
- What is CVE-2026-6589?
- CVE-2026-6589 is a medium-severity vulnerability in Comfyui, classified under Cross-Site Request Forgery (CSRF). CVSS score: 4.3/10. Published 2026-04-20.
- How severe is CVE-2026-6589?
- Medium severity. CVSS v3 base score is 4.3 out of 10.