CVE-2026-92816 ComfyUI before 0.30.0 Path Traversal via dataset save nodes
Attackers can exploit unsanitized folder names in ComfyUI dataset save nodes to write files to arbitrary paths, potentially achieving code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-92816?
CVE-2026-92816 is a high-severity path traversal vulnerability in Comfy-Org ComfyUI, published on 16 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-92816?
How do I fix CVE-2026-92816?
No fix has been published for CVE-2026-92816 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-92816 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-92816 exists.
Sources
Also known as GHSA-xhvx-vf8p-rh4x.