Vulnerability · Published Apr 20, 2026 · Assigned by VulDB
CVE-2026-6591ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal
Medium 4.3
In plain English
A medium-severity path traversal in ComfyUI. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
References
- VDB-358226 | ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal vdb-entry, technical-description
- 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
- https://gist.github.com/YLChen-007/1e6db39703626dc5c1a2505426754333 exploit