{"id":"CVE-2026-92816","published":"2026-09-16T20:33:01Z","modified":"2026-09-21T15:52:19Z","title":"ComfyUI before 0.30.0 Path Traversal via dataset save nodes","vendor":"Comfy-Org","product":"ComfyUI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00203,"percentile":0.0582,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/geo-chen/oss/blob/main/ComfyUI.md","tags":["technical-description","exploit"]},{"url":"https://github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py#L303-L318","tags":["technical-description"]},{"url":"https://github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.py","tags":["patch"]},{"url":"https://github.com/Comfy-Org/ComfyUI","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-dataset-save-nodes","tags":["third-party-advisory"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":1.16},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"comfy-org","affectedVersions":[{"vendor":"Comfy-Org","product":"ComfyUI","versions":["< 0.30.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-21T15:52:12.481772Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-81074","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/geo-chen/oss/blob/main/ComfyUI.md"]}