CVE-2026-6590: ComfyUI Model Preview Endpoint model_manager.py get_model_preview path traversal
A vulnerability was detected in ComfyUI up to 0.13.0. This impacts the function getmodelpreview of the file app/modelmanager.py of the component Model Preview Endpoint. The manipulation results in path traversal. The attack may be launched remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-6590?
CVE-2026-6590 has been classified as a critical severity vulnerability due to its potential for path traversal leading to unauthorized access.
How do I fix CVE-2026-6590?
To mitigate CVE-2026-6590, upgrade ComfyUI to version 0.14.0 or later, where this vulnerability has been addressed.
What impact does CVE-2026-6590 have on ComfyUI?
CVE-2026-6590 allows an attacker to exploit the Model Preview Endpoint to gain unauthorized access to sensitive files on the server.
Which versions of ComfyUI are affected by CVE-2026-6590?
CVE-2026-6590 affects all versions of ComfyUI up to and including 0.13.0.
Is there a workaround for CVE-2026-6590 if I can't update ComfyUI?
A temporary workaround for CVE-2026-6590 is to restrict access to the Model Preview Endpoint until a full update can be applied.