Severity by source
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
Lifecycle Timeline
8DescriptionCVE.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.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-23733