
Claude Code skill:唯讀檢查電腦上的 ComfyUI 是否受 CVE-2026-123790(Easy-Use 路徑穿越 → RCE)影響,含版本、修補 commit、--listen 對外開放與入侵跡象
This Claude Code skill checks whether the ComfyUI on your computer is affected by CVE-2026-123790 (CERT/CC VU#944667). The vulnerability is in the ComfyUI-Easy-Use node: an attacker does not need to log in; as long as they can reach ComfyUI, they can overwrite the __init__.py of other nodes, and the attacker's code will be executed the next time ComfyUI restarts.
It checks:
8a0f2fc--listen__init__.py has been modified, or .py files have appeared in the input folderCheck only, no modifications. When a node needs to be removed or updated, Claude will ask you first before taking action.
English version: comfyui-easyuse-cve-check-en
| Item | Content |
|---|---|
| ID | CVE-2026-123790, CERT/CC VU#944667 (published 2026-11-12) |
| Type | Path traversal (CWE-22), can lead to remote code execution |
| Affected versions | CERT/CC: below 1.4.1; other sources: 1.3.6–1.4.1 |
| Attack entry point | POST /easyuse/save/{name} (save_preview()), no login required |
| Fix | commit 8a0f2fc, only on the main branch, no official release greater than 1.4.1 yet |
| Mitigation | Remove this node, or only allow trusted people to connect to ComfyUI |
By default, ComfyUI only listens on the local machine (127.0.0.1). Without --listen, other computers cannot connect, so the risk is much lower. However, as long as an affected version is installed, it is still recommended to remove or update it.
Requires Claude Code and Python 3.8 or later (standard library only). Checking the patch commit requires git; without git, only the version number will be used for the determination.
git clone https://github.com/lng255639-cpu/comfyui-easyuse-cve-check.git ~/.claude/skills/comfyui-easyuse-cve-check
On Windows, ~ is C:\Users\<your username>.
Enter in Claude Code:
/comfyui-easyuse-cve-check
Or simply say "help me check whether ComfyUI is affected by the Easy-Use vulnerability".
python ~/.claude/skills/comfyui-easyuse-cve-check/check_easyuse.py
| Parameter | Purpose |
|---|---|
--path DIR | Specify a ComfyUI folder (or its parent folder); can be used multiple times |
--only-path | Only search the locations specified by --path |
--depth N | Search depth, default 5 |
--out FILE | Save the results to a JSON file |
By default, it searches the home directory, the basePath configured in ComfyUI Desktop, and every disk.
Values of summary.overall:
| Value | Meaning |
|---|---|
no_comfyui_found | No ComfyUI found |
not_affected | ComfyUI exists, but no Easy-Use |
patched | Patched |
affected_local_only | Affected, but only listening on the local machine |
affected_exposed | Affected and exposed to the LAN or the internet; take action immediately |
.git will be listed but cannot be compared.comfyui-easyuse-cve-check/
├── SKILL.md ← the workflow Claude reads
├── README.md ← this description
└── check_easyuse.py ← read-only check script