{"id":"CVE-2026-56673","published":"2026-07-31T04:46:21Z","modified":"2026-07-31T19:31:07Z","title":"ComfyUI: Path traversal in LoadImage via the /prompt API allows arbitrary file existence probing and image exfiltration","vendor":"Comfy-Org","product":"ComfyUI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00632,"percentile":0.44797,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-rvxv-29p8-pxgq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Comfy-Org/ComfyUI/pull/14734","tags":["x_refsource_MISC"]},{"url":"https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.96},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"comfy-org","affectedVersions":[{"vendor":"Comfy-Org","product":"ComfyUI","versions":["< 0.28.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-31T19:30:28.210701Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-51403","exploited":false,"provenance":"source"}}