Path Traversal in Comfy-Org Comfyui
CVE-2026-92816
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (10.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 10th percentile — 10.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/geo-chen/oss/blob/main/ComfyUI.md (technical-description, exploit)
- github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py (technical-description)
- github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.py (patch)
- github.com/Comfy-Org/ComfyUI (product)
- www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-dataset-s… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-92816?
- CVE-2026-92816 is a high-severity vulnerability in Comfy-Org Comfyui, classified under Path Traversal. CVSS score: 7.8/10. Published 2026-09-16.
- How severe is CVE-2026-92816?
- High severity. CVSS v3 base score is 7.8 out of 10.