Path Traversal Vulnerability in ComfyUI LoadImage Node
CVE-2026-6591
Key Information:
- Vendor
comfyanonymous
- Status
- Vendor
- CVE Published:
- 20 April 2026
Badges
What is CVE-2026-6591?
A vulnerability has been identified in ComfyUI affecting the LoadImage Node component, specifically within the function folder_paths.get_annotated_filepath of the folder_paths.py file. This issue stems from improper handling of input arguments, leading to a path traversal condition. By exploiting this vulnerability remotely, an attacker might gain unintended access to the system's file structure, potentially compromising sensitive information. It is critical for users to assess their usage of the affected versions and implement necessary security measures to mitigate risks associated with this flaw.
Affected Version(s)
ComfyUI 0.1
ComfyUI 0.2
ComfyUI 0.3
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
