CVE-2026-92816
published high CVSS 4.0 · 8.5ComfyUI before 0.30.0 Path Traversal via dataset save nodes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Comfy-Org | — | ComfyUI0 to < 0.30.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
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
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Comfy-Org | ComfyUI | 0 to < 0.30.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://github.com/Comfy-Org/ComfyUI
- folder_name is joined to the output directory unsanitised https://github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py#L303-L318
- 0.30.0 uses secure_subfolder_path https://github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.py
- Researcher write-up https://github.com/geo-chen/oss/blob/main/ComfyUI.md
- VulnCheck Advisory: ComfyUI before 0.30.0 Path Traversal via dataset save nodes https://www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-dataset-save-nodes
Provider assertions
2VulnCheck · cna
ComfyUI before 0.30.0 Path Traversal via dataset save nodes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83a429416b9d7d4bda8ea99814aafdf83a265a14af351342100cb008b2d30589
- Ingested
- 23 Sep 2026, 09:40:21 UTC
- Source record
- Official CVE record