Summary
CVE-2026-56673 is an unauthenticated path traversal vulnerability in ComfyUI prior to version 0.28.0. The flaw lets a remote attacker craft a workflow that probes arbitrary host paths and exfiltrates image-format files, resulting in disclosure of sensitive files. It carries a CVSS v3.1 base score of 7.5 (High).
Technical details
- Root cause: The functions
folder_paths.get_annotated_filepathandexists_annotated_filepathjoin workflow-controlled annotated filenames to a base directory without a containment check (CWE-22: Improper Limitation of a Pathname to a Restricted Directory). - Trigger conditions: The
LoadImagenode defines aVALIDATE_INPUTSmethod, which causes the execution engine to skip the standard COMBO (input-directory) validation, bypassing directory containment enforcement. - Attack vector: Network — an unauthenticated attacker sends a crafted
POST /promptworkflow usingLoadImageor sibling nodes (LoadImageMask,LoadImageOutput,LoadAudio,LoadLatent,LoadVideo,Load3D). - Impact: Arbitrary host-path probing and exfiltration of image-decodable files through the
/viewendpoint. High confidentiality impact; no integrity or availability impact.
Affected software
- ComfyUI (Comfy-Org) — all versions prior to 0.28.0.
Severity
- CVSS v3.1 base score: 7.5 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade to ComfyUI version 0.28.0 or later, which contains the fix.
- If no patch can be applied: Restrict network access to the ComfyUI interface and API; do not expose the
/promptand/viewendpoints to untrusted networks, and place the service behind authentication and network segmentation.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw HTTP response body:
aria-label="Loading ComfyUI" - Favicon fingerprint:
316510273,1554526046

