PT-2026-58810 · Git+1 · Mastergo-Magic-Mcp
CVSS v3.1
5.3
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
mastergo-design mastergo-magic-mcp versions prior to 0.2.1
Description
A path traversal issue exists in the
mcp C2d component within the execute() function of the src/tools/get-c2d.ts file. A local attacker can manipulate the filePath argument to access files outside the intended directory. Path traversal is a technique used to access files and directories that are stored outside the web root folder by manipulating variables that reference files with input that is not properly validated.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
As a temporary mitigation, restrict access to the
execute() function in the src/tools/get-c2d.ts file or avoid using the filePath argument until a patch is available.Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mastergo-Magic-Mcp