CVE-2026-56671: Comfy-Org ComfyUI · Path Traversal
Affects Comfy-Org ComfyUISource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 0.28.0 soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.28.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade Comfy-Org ComfyUI to 0.28.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Comfy-OrgComfyUI | Affected
| Fixed in
|
AI-suggested
This vulnerability is fixed in ComfyUI version 0.28.0. Users should upgrade to version 0.28.0 or later to remediate this issue. Since this is not a cloud service, remediation is the responsibility of the user.
Description
CVE-2026-56671 is a path traversal vulnerability in Comfy-Org's ComfyUI prior to version 0.28.0. The vulnerability exists in the get_model_preview function, which improperly joins an unrestricted filename route to a model directory without containment checks. This allows unauthenticated remote attackers to read image-decodable files outside the intended directory by using traversal sequences or absolute paths. The disclosed files are processed through Pillow and re-encoded as WEBP, limiting disclosure to image-compatible files and enabling file existence enumeration. The issue is fixed in version 0.28.0.