HighVulnerability
CVE-2026-56673: ComfyUI path traversal through LoadImage annotated filenames in POST /prompt
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-56673
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online