Path Traversal in Comfyui
CVE-2026-6591
- CVSS v3
- 4.3 Medium
- Public exploits
- None known
- EPSS
- 0.004 · 31.9th percentile
- Published
- 2026-04-20
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 31.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- 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)
- gist.github.com/YLChen-007/1e6db39703626dc5c1a2505426754333 (exploit)