Description
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.
Published: 2026-08-09
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the copyFileSync function within src/tools/utils.ts of the comfy_upload_image component. A crafted image_path argument containing traversal sequences can cause the function to access and read files outside the intended upload directory. This local exploitation can compromise the confidentiality and integrity of sensitive files stored on the host.

Affected Systems

Nikolaibibo:claude-comfyui-mcp version 1.0.0 is affected. The flaw is triggered when copyFileSync is called with an unrestricted image_path argument in the upload component. The vulnerability is local; an attacker must have ability to run code on the host or use a privileged user role that can interact with the application.

Risk and Exploitability

The CVSS base score of 4.8 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting a lower likelihood of widespread exploitation. Because the attack vector is local, the threat is limited to systems where an adversary can gain code execution privileges, and no public fix has been released. Organizations should monitor the vendor for a fix and employ mitigations until one becomes available.

Generated by OpenCVE AI on August 10, 2026 at 00:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Sanitize the image_path argument before passing it to copyFileSync, rejecting any path that includes traversal sequences, absolute paths, or symbolic links that escape the intended directory.
  • Run the upload component under a dedicated, non‑privileged user whose filesystem permissions are restricted to the designated upload directory, limiting the impact of any traversal that does occur.
  • Monitor upload logs for suspicious paths and apply rate‑limiting or blocking for repeated traversal attempts to reduce the risk of exploitation.
  • Check the vendor’s website or repository regularly for an updated release or advisory that addresses this issue.

Generated by OpenCVE AI on August 10, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 09 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Nikolaibibo claude-comfyui-mcp comfy_upload_image utils.ts copyFileSync path traversal
First Time appeared Nikolaibibo
Nikolaibibo claude-comfyui-mcp
Weaknesses CWE-22
CPEs cpe:2.3:a:nikolaibibo:claude-comfyui-mcp:*:*:*:*:*:*:*:*
Vendors & Products Nikolaibibo
Nikolaibibo claude-comfyui-mcp
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


Subscriptions

Nikolaibibo Claude-comfyui-mcp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-09T22:15:11.924Z

Reserved: 2026-08-09T07:08:02.581Z

Link: CVE-2026-19371

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T00:30:03Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')