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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-07-31T04:46:21.314Z
- Modified: 2026-10-23T23:10:00.157Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Comfy-Org ComfyUI: < 0.28.0

## References

- <https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-rvxv-29p8-pxgq>
- <https://github.com/Comfy-Org/ComfyUI/pull/14734>
- <https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0>

## Sources

- CVE List: [CVE-2026-56673](https://www.cve.org/CVERecord?id=CVE-2026-56673), CVE Terms of Use, modified 2026-07-31
- NVD: [CVE-2026-56673](https://nvd.nist.gov/vuln/detail/CVE-2026-56673), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-56673 · Whole record: https://cve.day/CVE-2026-56673.json · Rebuilt by cve.day 2026-11-25T22:59:30.685Z
