| Titre | 8nite metatrader-4-mcp 1.0.0 Path Traversal |
|---|
| Description | An arbitrary file write vulnerability (CWE-73) has been identified in mcp-mt4-server version 1.0.0 (commit 454eccc), specifically within the sync_ea MCP tool in src/index.ts. The tool accepts a user‑supplied ea_name argument and concatenates it into filesystem paths without validating that the resolved path remains inside the intended ea-strategies/active or ea-strategies/logs directories. An attacker with network access to the MCP interface can supply parent‑directory traversal sequences (e.g., ../..) to create or overwrite files at arbitrary writable locations on the server. Additionally, the sync_ea_from_file tool can read arbitrary local files via a user‑controlled file_path argument and write their contents through the same vulnerable path. No fixed version is available at the time of reporting. |
|---|
| La source | ⚠️ https://github.com/8nite/metatrader-4-mcp/issues/1 |
|---|
| Utilisateur | BruceJqs (UID 97404) |
|---|
| Soumission | 16/04/2026 06:35 (il y a 2 mois) |
|---|
| Modérer | 01/05/2026 16:14 (15 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 360573 [8nite metatrader-4-mcp 1.0.0 sync_ea_from_file src/index.ts CallToolRequestSchema ea_name directory traversal] |
|---|
| Points | 20 |
|---|