What’s Vulnerable › Vulnerabilities

CVE-2026-92816: ComfyUI before 0.30.0 Path Traversal via dataset save nodes

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.

Affected products

How to fix

Upgrade to a fixed version: Comfy-Org ComfyUI 0.30.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-92816 or the next vulnerability affects your stack