---
id: CVE-2026-56673
title: >-
  ComfyUI is a modular diffusion model GUI, API, and backend with a
  graph-and-node interface
summary: >-
  ComfyUI is a modular diffusion model GUI, API, and backend with a
  graph-and-node interface. Prior to 0.28.0, folder_paths.get_annotated_filepath
  and exists_annotated_filepath join workflow-controlled annotated filenames to
  a base directo…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
published: '2026-07-31'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:41:31.497'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56673'
references:
  - url: 'https://github.com/Comfy-Org/ComfyUI/pull/14734'
    label: security-advisories@github.com
  - url: 'https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-rvxv-29p8-pxgq
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00632
epssPercentile: 0.48101
ingestedAt: '2026-09-08T21:11:12.260Z'
---

## Overview

ComfyUI is a modular diffusion model GUI, API, and backend with a graph-and-node interface. Prior to 0.28.0, folder_paths.get_annotated_filepath and exists_annotated_filepath join workflow-controlled annotated filenames to a base directory without a containment check, allowing an unauthenticated crafted POST /prompt workflow using LoadImage or sibling nodes to probe arbitrary host paths and exfiltrate image-format files through /view. LoadImage defines a VALIDATE_INPUTS method, which causes the execution engine to skip COMBO (input-directory) validation. Affected nodes include LoadImage, LoadImageMask, LoadImageOutput, LoadAudio, LoadLatent, LoadVideo, and Load3D. This issue is fixed in version 0.28.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
