# CVE-2026-6591: ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T01:00:18.496Z
- Modified: 2026-06-17T11:01:02.210Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- 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

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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: CVSS:3.1 4.3 Medium `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: CVSS:3.0 4.3 Medium `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: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR`

## References

- <https://gist.github.com/YLChen-007/1e6db39703626dc5c1a2505426754333> (exploit)
- <https://vuldb.com/vuln/358226> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/358226/cti> (permissions-required, signature)
- <https://vuldb.com/submit/791112> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-6591](https://www.cve.org/CVERecord?id=CVE-2026-6591), CVE Terms of Use, modified 2026-04-20
- NVD: [CVE-2026-6591](https://nvd.nist.gov/vuln/detail/CVE-2026-6591), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-6591 · Whole record: https://cve.day/CVE-2026-6591.json · Rebuilt by cve.day 2026-11-25T22:59:19.009Z
