CVE-2026-6590 ComfyUI Model Preview Endpoint model_manager.py get_model_preview path traversal
A path traversal vulnerability in ComfyUI's model preview endpoint allows remote attackers to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-6590?
CVE-2026-6590 is a medium-severity path traversal vulnerability in ComfyUI, published on 20 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was detected in ComfyUI up to 0.13.0. This impacts the function get_model_preview of the file app/model_manager.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.
Weakness: CWE-22
Which versions are affected by CVE-2026-6590?
How do I fix CVE-2026-6590?
No fix has been published for CVE-2026-6590 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-6590 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6590 exists.
Sources
Also known as GHSA-qf9c-j447-wpvf.