---
cve: "CVE-2026-56672"
severity: "HIGH"
cvss: 8.2
epss: "24%"
vendor: "Comfy-Org"
kev: false
exploited: false
published: "2026-07-31 06:16:30"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-18T22:53:23+02:00"
---

# CVE-2026-56672

> 8.2 HIGH · 🧪 PoC

## Beschreibung

ComfyUI is a node-based diffusion model GUI, API, and backend. Prior to 0.28.0, GET /userdata/{file} served user-controlled HTML and SVG files with extension-derived content types, allowing stored cross-site scripting in the ComfyUI origin and access to browser-stored API tokens, settings, workflows, and authenticated-equivalent API calls. The handler used web.FileResponse(path), so an uploaded .html/.svg was served as text/html/image/svg+xml. POST /userdata stores arbitrary request bodies (confined to the user's userdata directory). When a victim navigated to the file URL, the embedded script executed same-origin. The /view endpoint already forced dangerous MIME types to download; that protection had never been applied to /userdata. This issue is fixed in version 0.28.0.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 96e0e3585b41e1417442eaa14ec57f7b4ffcb5e0 (Commit)
- 700821e1364eaab0e8f21c538a2131719fec57bf (Commit)

## Referenzen

- <https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-53g8-45wq-pcv8>
- <https://github.com/Comfy-Org/ComfyUI/commit/96e0e3585b41e1417442eaa14ec57f7b4ffcb5e0>
- <https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-56672) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
