Path Traversal in Comfyui
CVE-2026-6591
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 e…
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.001 (16.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
- N/a Comfyui — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
References
- VDB-358226 | ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal (technical-description, vdb-entry)
- VDB-358226 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, permissions-required)
- Submit #791112 | comfyanonymous ComfyUI <= 0.13.0 (commit 6648ab68) Path Traversal (CWE-22) (third-party-advisory)
- cna@vuldb.com (exploit)
Frequently asked questions
- What is CVE-2026-6591?
- CVE-2026-6591 is a medium-severity vulnerability in Comfyui, classified under Path Traversal. CVSS score: 4.3/10. Published 2026-04-20.
- How severe is CVE-2026-6591?
- Medium severity. CVSS v3 base score is 4.3 out of 10.