PT-2026-66678 · Comfyui · Comfyui

CVE-2026-56671

·

Published

2026-07-31

·

Updated

2026-08-01

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions ComfyUI versions prior to 0.28.0
Description An unauthenticated remote attacker can read image-decodable files and enumerate host paths. The get model preview() function in app/model manager.py uses os.path.join(folder, filename) with an unrestricted {filename:.*} route capture without performing a containment check. This allows the use of absolute paths, literal ../ traversal, percent-encoded %2e%2e%2f traversal, or an unbounded path index to escape the model directory. Because the target file is processed through Pillow and re-encoded as WEBP, the disclosure is limited to files that can be decoded as images, though it still allows for internal-path leakage and file-existence enumeration.
Recommendations Update to version 0.28.0.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-56671
GHSA-PJ59-G5VV-74Q4

Affected Products

Comfyui