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 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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (29.7th 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
- cna@vuldb.com (technical-description, vdb-entry)
- cna@vuldb.com (signature, permissions-required)
- cna@vuldb.com (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.