Skip to main content

ComfyUI-Easy-Use CVE-2026-123790

| EUVDEUVD-2026-124521 MEDIUM
Path Traversal (CWE-22)
2026-11-12 certcc GHSA-25xv-w465-qr9f
6.5
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed ComfyUI server
  2. Delivery
    Send crafted save_preview POST
  3. Exploit
    Traverse into custom_nodes directory
  4. Execution
    Overwrite node Python entry point
  5. Impact
    Restart 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ComfyUI-Easy-Use 1.3.6 ≤1.4.1

Affected Packages

euvd comfyui_easy_use no fix

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

Vendor (certcc) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 17, 2026 - 17:22 NVD
6.5 (MEDIUM)
CVE Published
Nov 12, 2026 - 14:48 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular ComfyUI custom-node extension, large AI/hobbyist user base, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-92816 HIGH POC
8.5 Sep 16

Arbitrary file write via path traversal in ComfyUI before 0.30.0 lets an attacker place attacker-controlled content anyw

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-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-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-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-6590 LOW POC
2.1 Apr 20

Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files via manipul

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

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