Path Traversal Vulnerability in ComfyUI LoadImage Node
CVE-2026-6591

5.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
20 April 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Eric-c (VulDB User)
VulDB CNA Team
.