CVE-2026-7627 Details
Description
A security vulnerability has been detected in 8nite metatrader-4-mcp 1.0.0. This vulnerability affects the function CallToolRequestSchema of the file src/index.ts of the component sync_ea_from_file. Such manipulation of the argument ea_name leads to path traversal. The attack can be launched remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.
A path traversal vulnerability has been identified in 8nite MetaTrader 4 MCP version 1.0.0. The issue arises in the 'sync_ea_from_file' component, specifically within the 'CallToolRequestSchema' function of 'src/index.ts'. The vulnerability allows for arbitrary file writing by manipulating the 'ea_name' argument, which is concatenated into file paths without proper validation. This flaw can be exploited remotely, potentially leading to the overwriting or creation of files at arbitrary locations on the server.
No official patch is available at this time. However, it is recommended to treat the 'ea_name' argument as an identifier rather than a path, rejecting any traversal sequences or absolute paths. Similar validations should be applied to the 'sync_ea_from_file' tool and in the Windows HTTP bridge to prevent exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 2, 2026CISA-ADP
Assessed May 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/8nite/metatrader-4-mcp/ | [email protected] | ProductSource CodeVendor |
| https://github.com/8nite/metatrader-4-mcp/issues/1 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://vuldb.com/submit/806286 | [email protected] | Permission Required |
| https://vuldb.com/vuln/360573 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/360573/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| 8nite metatrader-4-mcp | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 2, 2026 | New CVE Received | [email protected] |
Volerion