Path Traversal in Comfyui

CVE-2026-6591

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

EPSS: 0.005 (42.0th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 42.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-6591: held from 0.004 to 0.005.

EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.002

Affected products

  • Comfyui — versions 0.1, 0.2, 0.3

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-6591?
CVE-2026-6591 is a medium-severity vulnerability in Comfyui, classified under Path Traversal. CVSS score: 4.3/10. Published 2026-04-20.
How severe is CVE-2026-6591?
Medium severity. CVSS v3 base score is 4.3 out of 10.