Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed ComfyUI server
-
DeliverySend crafted save_preview POST
-
ExploitTraverse into custom_nodes directory
-
ExecutionOverwrite node Python entry point
-
ImpactRestart loads and runs attacker code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Trigger is the POST /easyuse/save/{name} save_preview() handler in ComfyUI-Easy-Use 1.3.6 (through 1.4.1): it checks the source directory before appending the user-supplied filename, letting the request designate the custom_nodes directory as the copy destination and overwrite a custom node's Python entry point. Exploitation requires (1) network reachability to the ComfyUI server - a real limiter, since ComfyUI commonly binds to 127.0.0.1 and must be exposed/proxied to be remotely reachable; and (2) a ComfyUI restart/reload to actually execute the planted code - in 1.3.6 the /easyuse/reboot endpoint was an unauthenticated GET, so an attacker on the same reach can force the restart (the patch adds a same-origin reboot token). No authentication is required (PR:N) and no user interaction is needed (UI:N) for the write itself. |
| Impact | Signals are mixed. The CVSS vector (AV:N/AC:L/PR:N/UI:N) describes an unauthenticated, network-reachable, low-complexity flaw with no user interaction - the easy-to-reach end of the spectrum. However, the NVD impact metrics (C:L/I:L/A:N, score 6.5) understate the described outcome: the advisory states an attacker overwrites an installed custom node's Python entry point so arbitrary code runs with the ComfyUI process privileges, which is full code execution (independently assessed ~9.8, C:H/I:H/A:H). Counterbalancing signals point to lower real-world urgency: EPSS is 0.21% (11th percentile), there is no CISA KEV listing (not confirmed actively exploited), and the vuln.today decision label is 'this_month' rather than act_now/emergency. Exploitation also depends on the ComfyUI server being network-reachable - many deployments bind to localhost by default - and on a restart occurring to load the planted code. Net: a genuine unauthenticated-RCE-class bug in a niche AI tool, worth patching this month, but not a mass-exploitation emergency given low EPSS, no KEV, and limited exposure of typical deployments. The CVSS impact scoring conflicts with the description and should be verified with the vendor/CERT-CC. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach the ComfyUI HTTP server sends a crafted POST to /easyuse/save/{name}; because save_preview() validates the source directory but then appends an attacker-supplied filename, the request selects the custom_nodes directory and overwrites an installed node's Python entry point with uploaded content. When ComfyUI next restarts and imports the modified node, the attacker's code executes as the ComfyUI process. The attack is network/low-complexity per CVSS; a public advisory (blog.nhhoang.io.vn) describes the RCE chain, but it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Unauthenticated path traversal in the ComfyUI-Easy-Use custom-node extension (1.3.6 through 1.4.1) lets anyone who can reach the ComfyUI HTTP server overwrite an installed custom node's Python entry point via the save_preview() handler on POST /easyuse/save/{name}, so the planted code executes with the ComfyUI process's privileges on the next restart. Our reassessment raises the vendor's 6.5 to AV:N/AC:L/PR:N/UI:N with high confidentiality, integrity and availability impact, since the write needs no credentials or user interaction and ends in code execution, though it still depends on the server being network-reachable (ComfyUI commonly binds to 127.0.0.1) and on a restart or reload occurring - which in 1.3.6 the unauthenticated GET /easyuse/reboot can force. The CVE is not in CISA KEV, no public exploit identified at time of analysis, EPSS is 0.21% (11th percentile), the vuln.today decision label is this_month, and a vendor fix is available as upstream commit 8a0f2fc412c1c6f9109e9392064800a87a706775.
RemediationAI
Upgrade ComfyUI-Easy-Use to a release that contains upstream commit 8a0f2fc412c1c6f9109e9392064800a87a706775 (https://github.com/yolain/ComfyUI-Easy-Use/commit/8a0f2fc412c1c6f9109e9392064800a87a706775); the vendor lists a patch as available, but the available data does not state an exact released version number, so confirm with the vendor advisory rather than assuming - versions at or below 1.4.1 fall inside the EUVD-affected range and should be treated as vulnerable until the fix commit is present. Because exploitation requires network reachability, keeping the ComfyUI server bound to 127.0.0.1 or placing it behind an authenticating reverse proxy removes the remote attack path for the write itself; this is not a fix and does not help against anything that can already reach the port locally or through the proxy. If upgrading is not immediately possible, block POST requests to /easyuse/save/* and the /easyuse/reboot route at the proxy or WAF - the first removes the file-write primitive, the second removes the unauthenticated reload trigger that turns the planted file into running code - with the trade-off that the preview-save and reboot features stop working for legitimate users, and note that the reload requirement only delays execution, it does not prevent it, if the server is restarted by other means. Patch priority per vuln.today is this_month; exploitation has not been observed in KEV and EPSS is 0.21% (11th percentile), but that reflects current activity rather than the severity of the flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ComfyUI-Easy-Use is a Python extension that registers extra routes on ComfyUI's aiohttp-based PromptServer (PromptServer.instance.routes). The flaw is CWE-22 (improper limitation of a pathname to a restricted directory): in the save_preview() handler the destination directory was resolved from a user-supplied type/subfolder pair and the containment check (os.path.commonpath against the base directory) was performed on that directory path before the attacker-controlled filename was appended, so a crafted name escaped the intended root. The type component itself was parsed by splitting the request name at the first '/', with no allowlist, which let a request designate custom_nodes as the copy destination and write over a custom node's Python entry file; ComfyUI imports those modules at startup, converting the arbitrary file write into code execution in the ComfyUI process when the server restarts or reloads nodes. The upstream fix (commit 8a0f2fc) mirrors this root cause exactly: it requires the filename to be a bare basename (rejecting '.', '..' and any path separators), restricts type to the 'temp' directory, forces an empty subfolder, allowlists image extensions (PNG/JPEG/WEBP/GIF), and applies os.path.realpath/commonpath containment on the resolved temp path. The same commit also hardens adjacent easyuse routes - it adds same-origin (Sec-Fetch-Site/Origin) validation plus an HMAC-compared, per-process reboot token to /easyuse/reboot, turning the previously unauthenticated GET into an authenticated POST - which is directly relevant here because forced reload is the second half of the exploitation chain.
Know when Comfyui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Unauthenticated network write overwrites a custom-node entry point and the unauthenticated reboot endpoint lets the attacker force reload, yielding code execution as the ComfyUI process - full C/I/A impact.
Primary rating from Vendor (certcc).
CVSS VectorVendor: certcc
Lifecycle Timeline
2DescriptionCVE.org
ComfyUI-Easy-Use version 1.3.6 contains a path traversal vulnerability in the save_preview() handler for POST /easyuse/save/{name}. The handler checks the source directory before appending a user-supplied filename and allows the request to select the custom_nodes directory as a copy destination. An unauthenticated attacker who can reach the ComfyUI server can overwrite an installed custom node’s Python entry point with an uploaded file. When ComfyUI restarts and loads the modified node, the attacker’s code runs with the privileges of the ComfyUI process.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Arbitrary file write via path traversal in ComfyUI before 0.30.0 lets an attacker place attacker-controlled content anyw
comfyanonymous/comfyui version v0.2.4 suffers from a non-blind Server-Side Request Forgery (SSRF) vulnerability. Rated h
A stored cross-site scripting (XSS) vulnerability exists in comfyanonymous/comfyui version 0.2.2 and possibly earlier. R
Remote code execution in ComfyUI v0.23.0 (and all prior 0.x releases) lets unauthenticated attackers run arbitrary Pytho
Stored cross-site scripting in ComfyUI (Comfy-Org) before 0.28.0 lets an attacker upload HTML or SVG to the per-user use
Stored cross-site scripting in ComfyUI before 0.28.0 lets an attacker upload a malicious SVG that the /view endpoint ser
Unauthenticated information disclosure in ComfyUI (comfy-org/comfyui) before 0.28.0 lets remote attackers read arbitrary
Path traversal arbitrary file read in ComfyUI (comfy-org) before 0.28.0 lets remote unauthenticated attackers probe arbi
Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files on the serv
Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files via manipul
Cross-site request forgery (CSRF) in ComfyUI up to version 0.13.0 allows unauthenticated remote attackers to modify appl
Cross-site scripting (XSS) in ComfyUI up to version 0.13.0 allows authenticated remote attackers to inject malicious scr
EUVD-2026-124521
GHSA-25xv-w465-qr9f
NVD
CVE.org
EPSS
VulDB
Exploit-DB