Description
A security flaw has been discovered in mastergo-design mastergo-magic-mcp up to 0.2.0. This issue affects the function execute of the file src/tools/get-c2d.ts of the component mcp__C2d. Performing a manipulation of the argument filePath results in path traversal. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-07-14
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the execute function of get-c2d.ts within the mcp__C2d component of mastergo-magic-mcp. By manipulating the filePath argument, an attacker can cause the application to reference files outside the intended directory, enabling the reading of arbitrary files on the host. This weakness aligns with CWE-22 and can compromise confidentiality or provide footholds for further exploits if sensitive system files or secrets are accessed.

Affected Systems

Any installation of mastergo-magic-mcp by mastergo-design with version 0.2.0 or older is affected. The vulnerability is documented against the product without a lower bound on the impacted versions, indicating that the entire release line up to 0.2.0 is vulnerable.

Risk and Exploitability

The CVSS score of 4.8 denotes moderate severity for a local‑access flaw, and the EPSS score of less than 1 % indicates a low probability of widespread exploitation. The CVE is not listed in the CISA KEV catalog. An attacker would need local execution on the host running the utility; a public exploit has been released, so any user with local access could trigger the traversal. Overall risk remains moderate until a vendor fix or a reliable mitigation measure is applied.

Generated by OpenCVE AI on July 31, 2026 at 04:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Obtain and install the latest release of mastergo-magic-mcp from the vendor once it becomes available, ensuring the version is above 0.2.0.
  • Introduce custom validation for the filePath parameter to reject any entries containing '..' or absolute path segments, restricting access to a predefined safe directory until an official fix is released.
  • Configure filesystem permissions to limit the user or service executing get-c2d to only necessary directories, and monitor logging for anomalous file accesses to detect exploitation attempts.

Generated by OpenCVE AI on July 31, 2026 at 04:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description A security flaw has been discovered in mastergo-design mastergo-magic-mcp up to 0.2.0. This issue affects the function execute of the file src/tools/get-c2d.ts of the component mcp__C2d. Performing a manipulation of the argument filePath results in path traversal. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Title mastergo-design mastergo-magic-mcp mcp__C2d get-c2d.ts execute path traversal
First Time appeared Mastergo-design
Mastergo-design mastergo-magic-mcp
Weaknesses CWE-22
CPEs cpe:2.3:a:mastergo-design:mastergo-magic-mcp:*:*:*:*:*:*:*:*
Vendors & Products Mastergo-design
Mastergo-design mastergo-magic-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

Mastergo-design Mastergo-magic-mcp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-15T14:28:46.069Z

Reserved: 2026-07-14T15:39:43.344Z

Link: CVE-2026-15749

cve-icon Vulnrichment

Updated: 2026-07-15T14:28:42.337Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T05:00:05Z

Weaknesses
  • CWE-22

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