CSRF in Comfyui
CVE-2026-6589
- CVSS v3
- 4.3 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 5.0th percentile
- Published
- 2026-04-20
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.002, 5.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Comfyui — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
References
- VDB-358224 | ComfyUI server.py create_origin_only_middleware cross-site request forgery (technical-description, vdb-entry)
- VDB-358224 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #791108 | comfyanonymous ComfyUI <= 0.13.0 (commit 88e63705) Origin Validation Error (CWE-346) (third-party-advisory)
- gist.github.com/YLChen-007/d314f8120e47601dfa3ac8b899f12d1f (exploit)