Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Comfy-Org ComfyUI
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ComfyUI 是一个基于图形和节点接口的模块化扩散模型 GUI、API 和后端。在 0.28.0 版本之前, 和 函数将工作流控制的注解文件名与基础目录连接时,未进行目录包含检查,导致未经身份验证的攻击者可以通过构造的 POST /prompt 请求,利用 LoadImage 或相关节点探测任意主机路径,并通过 /view 接口泄露图像格式文件。LoadImage 定义了 方法,导致执行引擎跳过了 COMBO(输入目录)类型的验证。受影响的节点包括:LoadImage、LoadImageMask、LoadImag

CVSS 7.5 · High EPSS 0.63% · P48

Affected Version Matrix 1

VendorProduct Version RangeStatus
Comfy-Org ComfyUI < 0.28.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56673

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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.

Vulnerability Title
ComfyUI: Path traversal in LoadImage via the /prompt API allows arbitrary file existence probing and image exfiltration
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Comfy-Org ComfyUI < 0.28.0 -

II. Public POCs for CVE-2026-56673

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10230 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-56673

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-56673 (1)

Vendor Advisories for CVE-2026-56673 (1)

Other References for CVE-2026-56673 (1)

Same Patch Batch · Comfy-Org · 2026-07-31 · 5 CVEs total

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-56672 8.2 HIGH ComfyUI: Stored XSS via /userdata/{file} due to Missing Content-Type Sanitization
CVE-2026-56671 7.5 HIGH ComfyUI: Path traversal in /experiment/models/preview allows arbitrary image file read

IV. Related Vulnerabilities

V. Comments for CVE-2026-56673

No comments yet


Leave a comment