Home

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.

PUBLISHED Reserved 2026-04-19 | Published 2026-04-20 | Updated 2026-04-20 | Assigner VulDB




MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
MEDIUM: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
MEDIUM: 4.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
4.0AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR

Problem types

Path Traversal

Timeline

2026-04-19:Advisory disclosed
2026-04-19:VulDB entry created
2026-04-19:VulDB entry last update

Credits

Eric-c (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/358226 (VDB-358226 | ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal) vdb-entry technical-description

vuldb.com/vuln/358226/cti (VDB-358226 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/submit/791112 (Submit #791112 | comfyanonymous ComfyUI <= 0.13.0 (commit 6648ab68) Path Traversal (CWE-22)) third-party-advisory

gist.github.com/YLChen-007/1e6db39703626dc5c1a2505426754333 exploit

cve.org (CVE-2026-6591)

nvd.nist.gov (CVE-2026-6591)

Download JSON