CVE-2026-6591

Summary

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.

Affected Software

VendorProductVersion RangeStatus
n/aComfyUI0.1affected
n/aComfyUI0.2affected
n/aComfyUI0.3affected
n/aComfyUI0.4affected
n/aComfyUI0.5affected
n/aComfyUI0.6affected
n/aComfyUI0.7affected
n/aComfyUI0.8affected
n/aComfyUI0.9affected
n/aComfyUI0.10affected
n/aComfyUI0.11affected
n/aComfyUI0.12affected
n/aComfyUI0.13.0affected

Weaknesses

  • CWE-22: Path Traversal

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

References