ComfyUI 是一个基于节点的扩散模型图形用户界面(GUI)、API 和后端服务。在版本 0.28.0 之前,端点 会提供用户可控的 HTML 和 SVG 文件,并根据文件扩展名派生内容类型(Content-Type)。这使得攻击者能够在 ComfyUI 的源上下文中实施存储型跨站脚本攻击(Stored XSS),进而窃取存储在浏览器中的 API 令牌、用户设置、工作流配置,并发起具有相同权限等效性的 API 请求。 该处理器使用了 来响应请求,因此上传的 或 文件会被服务器以 或 的内容类型进行提供。 端点允许
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
| CVE-2026-68771 | 9.8 CRITICAL | ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization |
| CVE-2026-56670 | 8.2 HIGH | ComfyUI: Stored XSS via SVG file upload on the /view endpoint |
| CVE-2026-56673 | 7.5 HIGH | ComfyUI: Path traversal in LoadImage via the /prompt API allows arbitrary file existence p |
| CVE-2026-56671 | 7.5 HIGH | ComfyUI: Path traversal in /experiment/models/preview allows arbitrary image file read |