Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/Comfy-Org/ComfyUI
- https://github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py#
- https://github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.py
- https://github.com/geo-chen/oss/blob/main/ComfyUI.md
- https://www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-da
FAQ
What is CVE-2026-92816?
CVE-2026-92816 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 workflo...
How severe is CVE-2026-92816?
CVE-2026-92816 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-92816?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.