CVE-2026-6589
published medium CVSS 4.0 · 5.3ComfyUI server.py create_origin_only_middleware cross-site request forgery
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ComfyUI0.1 · 0.2 · 0.3 · 0.4 · 0.5 · 0.6 · 0.7 · 0.8 · 0.9 · 0.10 · 0.11 · 0.12 · 0.13.0 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R | — |
| 2.0 | 5.0 | medium | VulDB · cna | AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ComfyUI | 0.1 (affected)0.2 (affected)0.3 (affected)0.4 (affected)0.5 (affected)0.6 (affected)0.7 (affected)0.8 (affected)0.9 (affected)0.10 (affected)0.11 (affected)0.12 (affected)0.13.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-352 Cross-Site Request Forgery
- CWE-862 Missing Authorization
References
4- https://gist.github.com/YLChen-007/d314f8120e47601dfa3ac8b899f12d1f
- Submit #791108 | comfyanonymous ComfyUI <= 0.13.0 (commit 88e63705) Origin Validation Error (CWE-346) https://vuldb.com/submit/791108
- VDB-358224 | ComfyUI server.py create_origin_only_middleware cross-site request forgery https://vuldb.com/vuln/358224
- VDB-358224 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/358224/cti
Provider assertions
2VulDB · cna
ComfyUI server.py create_origin_only_middleware cross-site request forgery
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cb6a36c7f13d6d5488506e1e2d38d31171dfca24756141f6c37ed0cdf862b569
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record