CVE-2026-92816
ComfyUI before 0.30.0 Path Traversal via dataset save nodes
- State
- Published
- Severity
- 8.5 High
- Published
- Sep 16, 2026
- Updated
- Sep 21, 2026
- Reserved
- Sep 16, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.5 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
ComfyUIComfy-Org |
|
References
- Researcher write-uptechnical-descriptionexploit
- folder_name is joined to the output directory unsanitisedtechnical-description
- 0.30.0 uses secure_subfolder_pathpatch
- https://github.com/Comfy-Org/ComfyUIproduct
- VulnCheck Advisory: ComfyUI before 0.30.0 Path Traversal via dataset save nodesthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.