What’s Vulnerable › Vulnerabilities
CVE-2026-6591: ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-20 · updated 2026-06-17
- Weakness: CWE-22
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
- ComfyUI: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 (+7)
References
- https://gist.github.com/YLChen-007/1e6db39703626dc5c1a2505426754333
- https://vuldb.com/submit/791112
- https://vuldb.com/vuln/358226
- https://vuldb.com/vuln/358226/cti
Get alerted when CVE-2026-6591 or the next vulnerability affects your stack