CVE-2026-6591

MEDIUM

ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal

Title source: cna
STIX 2.1

Description

A flaw has been found in ComfyUI up to 0.13.0. Affected is the function folder_paths.get_annotated_filepath of the file folder_paths.py of the component LoadImage Node. This manipulation of the argument Name causes path traversal. Remote exploitation of the attack is possible. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

References (4)

Core 4
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-358226 | ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal
https://vuldb.com/vuln/358226
Signature, Permissions Required signature permissions-required
VDB-358226 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/358226/cti
Third Party Advisory third-party-advisory
Submit #791112 | comfyanonymous ComfyUI <= 0.13.0 (commit 6648ab68) Path Traversal (CWE-22)
https://vuldb.com/submit/791112

Scores

CVSS v3 4.3
EPSS 0.0037
EPSS Percentile 28.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (13)
None/ComfyUI 0.1
None/ComfyUI 0.10
None/ComfyUI 0.11
None/ComfyUI 0.12
None/ComfyUI 0.13.0
None/ComfyUI 0.2
None/ComfyUI 0.3
None/ComfyUI 0.4
None/ComfyUI 0.5
None/ComfyUI 0.6
... and 3 more
Published Apr 20, 2026
Tracked Since Apr 20, 2026