Out-of-scope file writes via unchecked rootPath
Published Jul 14, 2026 · Updated Jul 14, 2026
Path traversal in MasterGo Magic MCP 0.1 and 0.2.0 allows local users to create directories and write files outside the working directory. The mcp__getComponentGenerator execute handler concatenates an unchecked rootPath with .mastergo, recursively creates that path, and writes workflow and design files there. The caller must be able to invoke the stdio MCP tool; writes are limited to process-writable locations and project-shaped content.
Summary
What happened
Path traversal in MasterGo Magic MCP 0.1 and 0.2.0 allows local users to create directories and write files outside the working directory. The mcp__getComponentGenerator execute handler concatenates an unchecked rootPath with .mastergo, recursively creates that path, and writes workflow and design files there. The caller must be able to invoke the stdio MCP tool; writes are limited to process-writable locations and project-shaped content.
The record
- CVE
- CVE-2026-15751
- Published
- Jul 14, 2026
- Updated
- Jul 14, 2026
- Vendor
- MasterGo
- Product
- MasterGo Magic MCP
- Classifications
- CWE-22, CAPEC-126
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 14, 2026CVE publishedPublication date reported by the CVE source.
- Jul 14, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1
- Affected versionversion=0.2.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub issue #90 reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo