ComfyUI before 0.30.0 Path Traversal via dataset save nodes
Priority HIGH 72CWE-22Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
ComfyUI before 0.30.0 fails to sanitize folder_name input in dataset save nodes, allowing attackers to write files to arbitrary paths outside the output directory. Attackers can load a crafted workflow that writes attacker-controlled content to arbitrary locations, enabling code execution through modified startup files or package initializers.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00203 10th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed ComfyUI (Comfy-Org): 0.30.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA ComfyUI (Comfy-Org) Fixed in 0.30.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-92816
- 2026-10-03 Alias added: GHSA-xhvx-vf8p-rh4x
References
More Comfy-Org vulnerabilities
- TI-2026-48352 ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization CVSS 4.0CRITICAL 9.3
- TI-2026-40855 ComfyUI: Path traversal in /experiment/models/preview allows arbitrary image file read CVSS 3.1HIGH 7.5
- TI-2026-40857 ComfyUI: Path traversal in LoadImage via the /prompt API allows arbitrary file existence probing and image exfiltration CVSS 3.1HIGH 7.5
- TI-2026-40856 ComfyUI: Stored XSS via /userdata/{file} due to Missing Content-Type Sanitization CVSS 3.1HIGH 8.2
- TI-2026-40854 ComfyUI: Stored XSS via SVG file upload on the /view endpoint CVSS 3.1HIGH 8.2
Sources
- CVE-2026-92816 · CVE Program
- CVE-2026-92816 · NVD
- FIRST EPSS
- GHSA-xhvx-vf8p-rh4x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences