Skip to content
HighVulnerability

CVE-2026-56673: ComfyUI path traversal through LoadImage annotated filenames in POST /prompt

Identifier
CVE-2026-56673
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

ComfyUI versions before 0.28.0 let an unauthenticated attacker send a crafted POST /prompt workflow that uses LoadImage or sibling nodes. Because folder_paths.get_annotated_filepath and exists_annotated_filepath join workflow-controlled annotated filenames to a base directory without a containment check, the attacker can probe arbitrary host paths and exfiltrate image-format files through /view. LoadImage's VALIDATE_INPUTS method causes the execution engine to skip COMBO (input-directory) validation.

Mitigation

Fixed in 0.28.0.