Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local authenticated session on host
-
DeliveryInvoke comfy_upload_image MCP tool
-
ExploitSupply traversal-crafted image_path argument
-
ExecutioncopyFileSync resolves path outside upload root
-
ImpactRead or overwrite arbitrary files within process permissions
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 | Exploitation requires a local authenticated session on the host running claude-comfyui-mcp (AV:L/PR:L per CVSS 4.0 vector) - no network exposure is needed or possible. The attacker must have the ability to invoke the |
| Impact | The CVSS 4.0 score of 4.8 (Medium) accurately reflects the constrained real-world risk profile. The local attack vector (AV:L) and low-privilege requirement (PR:L) together mean exploitation is limited to users who already have an authenticated local session on the host running this tool - substantially narrowing the attacker pool compared to network-exploitable vulnerabilities. All three impact dimensions (VC:L/VI:L/VA:L) are rated Low, indicating bounded rather than complete filesystem compromise. The E:P supplemental metric confirms a proof-of-concept exists, which elevates urgency slightly over a purely theoretical flaw, but the absence of a CISA KEV listing and the niche deployment footprint keep aggregate risk moderate. The maintainer's non-response to disclosure is a risk-prolonging factor: without a patch, exposure duration is indefinite. No EPSS data was provided in the input; risk prioritization should weight the local-only vector heavily - this vulnerability does not represent a remote attack surface. |
| Exploit ScenarioDerived | A local user with a standard shell account on a developer workstation running claude-comfyui-mcp invokes the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 09, 2026
Path traversal in claude-comfyui-mcp 1.0.0 enables local low-privileged users to escape the intended upload directory by supplying crafted ../ sequences as the image_path argument to the comfy_upload_image tool. The unsanitized input is passed directly to Node.js copyFileSync in src/tools/utils.ts, allowing reads or writes to arbitrary files accessible by the server process. A proof-of-concept exists (CVSS 4.0 E:P), and the project maintainer has not responded to responsible disclosure, leaving no vendor patch available at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the maintainer has not responded to the responsible disclosure filed at https://github.com/Nikolaibibo/claude-comfyui-mcp/issues/3. Monitor that issue and the repository for any patched release and apply it immediately upon availability. Until then, restrict local system access to trusted users only, since exploitation requires a local authenticated session. As a source-level compensating control, modify src/tools/utils.ts to resolve image_path to an absolute path using path.resolve() and then assert it starts with the permitted upload base directory before invoking copyFileSync; reject or sanitize any path that falls outside the allowed root. This change would need to be applied as a local fork. Trade-off: this manual patch requires maintaining a private fork and re-applying any upstream changes. Avoid running the MCP server under elevated privileges, as this limits the blast radius of a successful traversal to files readable/writable by the low-privilege process account. Full VulDB advisory: https://vuldb.com/cve/CVE-2026-19371.
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
claude-comfyui-mcp is a Model Context Protocol (MCP) server that bridges Claude AI with ComfyUI, a node-based Stable Diffusion image generation interface. The vulnerable code path is in src/tools/utils.ts within the comfy_upload_image component, which calls Node.js's synchronous copyFileSync without first canonicalizing or bounding the caller-supplied image_path. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) is the root cause class: the application fails to resolve the path against an allowed base directory and reject traversal sequences before performing the filesystem operation. The CPE string cpe:2.3:a:nikolaibibo:claude-comfyui-mcp:*:*:*:*:*:*:*:* uses a wildcard version field, indicating NVD has not bounded the affected range to a specific version - all currently known releases are considered affected.
Know when Claude Comfyui Mcp 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Local-only attack requiring low privileges; all three impacts bounded to Low as traversal is constrained to files accessible by the server process account.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in Nikolaibibo claude-comfyui-mcp 1.0.0. Affected is the function copyFileSync of the file src/tools/utils.ts of the component comfy_upload_image. Such manipulation of the argument image_path leads to path traversal. An attack has to be approached locally. The project was informed of the problem early through an issue report but has not responded yet.
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.
EUVD-2026-54958
GHSA-g57q-682f-hr5f
NVD
CVE.org
EPSS
VulDB
Exploit-DB