HighVulnerability
CVE-2026-56671: ComfyUI unauthenticated path traversal in model preview endpoint
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-56671
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2026-56671 affects ComfyUI before 0.28.0, where get_model_preview in app/model_manager.py joins an unrestricted filename route capture to a model directory without a containment check. An unauthenticated remote attacker can use traversal, encoded traversal, absolute paths, or an unbounded path_index to read image-decodable files and enumerate host paths. Disclosure is limited to files that Pillow can decode and re-encode as WEBP, plus a file-existence oracle and internal-path leakage through path_index errors.
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