Vulnerability · Published Apr 20, 2026 · Assigned by VulDB
CVE-2026-6589ComfyUI server.py create_origin_only_middleware cross-site request forgery
Medium 4.3
In plain English
A medium-severity cross-site request forgery in ComfyUI. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-352, CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R
References
- VDB-358224 | ComfyUI server.py create_origin_only_middleware cross-site request forgery vdb-entry, technical-description
- 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
- https://gist.github.com/YLChen-007/d314f8120e47601dfa3ac8b899f12d1f exploit