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.
Problem types
Timeline
| 2026-04-19: | Advisory disclosed |
| 2026-04-19: | VulDB entry created |
| 2026-04-19: | VulDB entry last update |
Credits
Eric-c (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/358226 (VDB-358226 | ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal)
vuldb.com/vuln/358226/cti (VDB-358226 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/791112 (Submit #791112 | comfyanonymous ComfyUI <= 0.13.0 (commit 6648ab68) Path Traversal (CWE-22))
gist.github.com/YLChen-007/1e6db39703626dc5c1a2505426754333
