Skip to main content

Comfyui CVE-2026-6590

| EUVDEUVD-2026-23733 LOW
Path Traversal (CWE-22)
2026-04-20 VulDB
2.1
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

8
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 20, 2026 - 01:22 NVD
4.3 (MEDIUM) 5.3 (MEDIUM)
Analysis Generated
Apr 20, 2026 - 01:18 vuln.today
EUVD ID Assigned
Apr 20, 2026 - 01:15 euvd
EUVD-2026-23733
Analysis Generated
Apr 20, 2026 - 01:15 vuln.today
CVE Published
Apr 20, 2026 - 00:45 nvd
LOW 2.1

DescriptionCVE.org

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.

AnalysisAI

Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files via manipulation of the get_model_preview function in the Model Preview Endpoint. An attacker with valid credentials can traverse the file system to access sensitive configuration files, model weights, or other data outside intended directories. Public exploit code is available, and the vendor has not provided a patched version despite early disclosure notification.

Technical ContextAI

ComfyUI is a node-based UI for Stable Diffusion and other generative AI models. The vulnerability resides in the app/model_manager.py file within the get_model_preview endpoint, which is designed to retrieve preview images for AI models. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), meaning the endpoint fails to properly validate or sanitize file path parameters before using them in file system operations. An attacker can inject path traversal sequences (such as '../../../') into the model preview request to escape the intended model directory and access arbitrary files on the server. The vulnerability is classified under path traversal attacks and affects the Model Preview Endpoint specifically.

RemediationAI

No vendor-released patch has been identified at time of analysis, and the vendor did not respond to early disclosure. Immediate mitigation steps include: upgrade ComfyUI to the latest available version beyond 0.13.0 if a newer build is available from the official repository, though patch confirmation is lacking. As a compensating control, restrict network access to the ComfyUI Model Preview Endpoint using a Web Application Firewall (WAF) or reverse proxy to block requests containing path traversal sequences ('..', '/', backslashes); this prevents exploitation but may impact legitimate preview functionality if the endpoint uses relative paths for valid operations. Alternatively, implement strict input validation within the model manager to reject any model preview requests containing path traversal characters before file access. For shared or multi-tenant deployments, immediately audit file access logs for suspicious path traversal attempts and revoke credentials for accounts that may have been compromised. Monitor the official ComfyUI GitHub repository for security updates or community-maintained forks that may provide patches. Trade-off: WAF blocking may cause false positives if the application requires forward slashes in legitimate model names; coordinate with ComfyUI developers or community maintainers to clarify safe character sets.

CVE-2024-12882 HIGH POC
7.5 Mar 20

comfyanonymous/comfyui version v0.2.4 suffers from a non-blind Server-Side Request Forgery (SSRF) vulnerability. Rated h

CVE-2024-10099 MEDIUM POC
6.1 Oct 17

A stored cross-site scripting (XSS) vulnerability exists in comfyanonymous/comfyui version 0.2.2 and possibly earlier. R

CVE-2026-68771 CRITICAL
9.3 Jul 31

Remote code execution in ComfyUI v0.23.0 (and all prior 0.x releases) lets unauthenticated attackers run arbitrary Pytho

CVE-2026-56670 HIGH
8.2 Jul 31

Stored cross-site scripting in ComfyUI before 0.28.0 lets an attacker upload a malicious SVG that the /view endpoint ser

CVE-2026-56672 HIGH
8.2 Jul 31

Stored cross-site scripting in ComfyUI (Comfy-Org) before 0.28.0 lets an attacker upload HTML or SVG to the per-user use

CVE-2026-56671 HIGH
7.5 Jul 31

Unauthenticated information disclosure in ComfyUI (comfy-org/comfyui) before 0.28.0 lets remote attackers read arbitrary

CVE-2026-56673 HIGH
7.5 Jul 31

Path traversal arbitrary file read in ComfyUI (comfy-org) before 0.28.0 lets remote unauthenticated attackers probe arbi

CVE-2026-6591 LOW POC
2.1 Apr 20

Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files on the serv

CVE-2026-6589 LOW POC
2.1 Apr 20

Cross-site request forgery (CSRF) in ComfyUI up to version 0.13.0 allows unauthenticated remote attackers to modify appl

CVE-2026-6593 LOW POC
2.0 Apr 20

Cross-site scripting (XSS) in ComfyUI up to version 0.13.0 allows authenticated remote attackers to inject malicious scr

CVE-2026-6592 LOW POC
2.0 Apr 20

Stored cross-site scripting (XSS) in ComfyUI's userdata endpoint (getuserdata function in app/user_manager.py) allows au

CVE-2024-10481 MEDIUM POC
6.5 Mar 20

A CSRF vulnerability exists in comfyanonymous/comfyui versions up to v0.2.2. Rated medium severity (CVSS 6.5), this vuln

Share

CVE-2026-6590 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy