Path Traversal Vulnerability in ComfyUI Allowing Arbitrary File Writes
CVE-2026-92816
Key Information:
Badges
What is CVE-2026-92816?
ComfyUI versions prior to 0.30.0 have a vulnerability where the application fails to sanitize the 'folder_name' input in dataset save nodes, enabling attackers to exploit this flaw. By crafting a malicious workflow, an attacker can write files to unintended locations outside the designated output directory, potentially allowing code execution through manipulation of startup files or package initializers. It is crucial for users to upgrade to version 0.30.0 or later, where this vulnerability is addressed with improved input validation mechanisms.
Affected Version(s)
ComfyUI 0 < 0.30.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
