Skip to main content
VulnerabilityPublished

CVE-2026-56671: Comfy-Org ComfyUI · Path Traversal

Affects Comfy-Org ComfyUISource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 0.28.0 soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Comfy-OrgComfyUIAffected
  • <0.28.0
Fixed in
  • 0.28.0

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.

References

Community reviews

Loading reviews…