CVE-2026-6591 Details
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.
A path traversal vulnerability has been identified in ComfyUI versions through 0.13.0. The issue arises in the LoadImage node, specifically within the folder_paths.get_annotated_filepath function in folder_paths.py. The vulnerability allows remote exploitation by manipulating the 'image' input field with '../' sequences, which are passed to 'os.path.join()' without proper validation. This flaw can be exploited to access arbitrary files on the server.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 20, 2026CISA-ADP
Assessed Apr 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/1e6db39703626dc5c1a2505426754333 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/791112 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/358226 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/358226/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ComfyUI | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 20, 2026 | New CVE Received | [email protected] |
Volerion