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

High 7.5 Published Updated

Unauthenticated attackers can probe arbitrary host paths and exfiltrate image files via crafted workflow inputs in ComfyUI.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-56673?

CVE-2026-56673 is a high-severity path traversal vulnerability in Comfy-Org ComfyUI, published on 31 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-56673?

How do I fix CVE-2026-56673?

No fix has been published for CVE-2026-56673 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-56673 being exploited?

There is no known exploitation of CVE-2026-56673 in the wild and no public exploit code.

Sources

Also known as GHSA-rvxv-29p8-pxgq.

Is CVE-2026-56673 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free