Home / ComfyUI / ComfyUI / CVE-2026-6591
CVE-2026-6591: is it exploited, and which versions of ComfyUI are affected and fixed?
CVE-2026-6591 is a path traversal (reading or writing files outside the intended folder) vulnerability in ComfyUI. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: ComfyUI 0.1, ComfyUI 0.2, ComfyUI 0.3 and 10 more (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-6591?
ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal
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.
From the CVE record by VulDB, last updated April 20, 2026, 16:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ComfyUI | 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.10 0.11 0.12 and 1 more ranges |
As the CVE record by VulDB states it, last updated April 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-6591?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P | VulDB |
| Medium 4.3 | CVSS 3.1 | 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 | VulDB |
| Medium 4.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R | VulDB |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-6591 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 20, 2026)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 33.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and 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
Who found and reported it?
- Eric-c (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 19, 2026
- Published
- April 20, 2026, 01:00 UTC
- CVE record updated
- April 20, 2026, 16:29 UTC by VulDB
- NVD
- Deferred, last modified June 17, 2026, 11:01 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ComfyUI?
- Apr 20, 2026CVE-2026-6593 ComfyUI: cross-site scripting (XSS)
- Apr 20, 2026CVE-2026-6592 ComfyUI: cross-site scripting (XSS)
- Apr 20, 2026CVE-2026-6590 ComfyUI: path traversal (reading or writing files outside the intended folder)
- Apr 20, 2026CVE-2026-6589 ComfyUI: cross-site request forgery (CSRF)
Questions about CVE-2026-6591
Is CVE-2026-6591 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ComfyUI are affected by CVE-2026-6591?
ComfyUI 0.1, ComfyUI 0.2, ComfyUI 0.3, ComfyUI 0.4, ComfyUI 0.5, ComfyUI 0.6 and 7 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-6591?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-6591?
Medium (5.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-6591?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.