CVE-2026-92816 ComfyUI before 0.30.0 Path Traversal via dataset save nodes
HighCVSS 8.5
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Comfy-Org ComfyUI | < 0.30.0 | 0.30.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Comfy-Org ComfyUI | < 0.30.0 | 0.30.0 |
References
- Researcher write-up exploit technical-description
- folder_name is joined to the output directory unsanitised technical-description
- 0.30.0 uses secure_subfolder_path patch
- github.com product
- VulnCheck Advisory: ComfyUI before 0.30.0 Path Traversal via dataset save nodes third-party-advisory
- ENISA EUVD EUVD-2026-81074 third-party-advisory