CVE-2026-92816
ComfyUI before 0.30.0 fails to sanitize folder_name input in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/Comfy-Org/ComfyUI
- github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py#L303-L318
- github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.py
- github.com/geo-chen/oss/blob/main/ComfyUI.md
- www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-dataset-save-nodes
- nvd.nist.gov/vuln/detail/CVE-2026-92816
- cve.org/CVERecord?id=CVE-2026-92816
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.