CVE-2026-56673
JSON

7.5high

ComfyUI: Path traversal in LoadImage via the /prompt API allows arbitrary file existence probing and image exfiltration

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
Comfy-Org ComfyUI< 0.28.0CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

ComfyUI es una GUI modular de modelo de difusión, API y backend con una interfaz de grafo y nodos. Antes de la versión 0.28.0, folder_paths.get_annotated_filepath y exists_annotated_filepath unen nombres de archivo anotados controlados por el flujo de trabajo a un directorio base sin una verificación de contención, lo que permite que un flujo de trabajo POST /prompt manipulado y no autenticado que utiliza LoadImage o nodos hermanos sondee rutas de host arbitrarias y exfiltre archivos en formato de imagen a través de /view. LoadImage define un método VALIDATE_INPUTS, lo que hace que el motor de ejecución omita la validación COMBO (directorio de entrada). Los nodos afectados incluyen LoadImage, LoadImageMask, LoadImageOutput, LoadAudio, LoadLatent, LoadVideo y Load3D. Este problema está solucionado en la versión 0.28.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56673 changed 2026-07-31CVE Terms of Use
NVDCVE-2026-56673 changed 2026-10-23Public domain