CVE-2026-56673 Details
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.
A path traversal vulnerability has been identified in ComfyUI versions prior to 0.28.0. The issue arises in the LoadImage node, which is part of the application's workflow management system. When an unauthenticated user sends a crafted POST request to the /prompt API, the LoadImage node can be manipulated to read files outside of the designated input directory. This is possible because the node's input validation can be bypassed, allowing the use of ../ sequences to escape the base directory and access arbitrary host paths. The vulnerability also enables the exfiltration of image files by chaining the LoadImage node to an output or preview node and retrieving the file through the /view API.
Users are advised to update to ComfyUI version 0.28.0, where this vulnerability has been fixed. In version 0.28.0, the functions that handle annotated file paths now reject paths that attempt to escape the base directory, effectively closing the traversal vulnerability. As an additional precaution, do not expose the /prompt API to untrusted clients or accept untrusted workflows.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2026 | New CVE Received | [email protected] |