Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain legitimate credentials for metatrader-4-mcp
-
DeliveryAuthenticate to service
-
ExploitSubmit crafted sync_ea_from_file request
-
InstallInject path traversal sequences in ea_name parameter
-
C2Bypass input validation
-
ExecuteRead arbitrary file via path traversal
-
ImpactExfiltrate sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access (PR:L per CVSS vector) - an attacker must possess valid credentials or an active session with the metatrader-4-mcp service. The vulnerability exists in the sync_ea_from_file component specifically; if this feature is not deployed or is disabled, the attack vector is unavailable. The attack surface is further limited to the ea_name parameter of the CallToolRequestSchema function; other parameters or input vectors are not indicated as vulnerable. No special configuration or non-default settings are mentioned in the disclosure, suggesting the vulnerable code path is active in default configurations. The attacker must be able to reach the metatrader-4-mcp service over the network (network accessibility), but once authenticated, no additional barriers such as user interaction or additional privileges are required to trigger the path traversal. |
| Impact | Despite the low CVSS score of 2.1, this vulnerability presents moderate practical risk for deployments using metatrader-4-mcp. The CVSS vector indicates authenticated access (PR:L) is required, which significantly limits the attack surface compared to unauthenticated exploits; however, CVSS4.0 assigns only low confidentiality impact (VC:L), suggesting the attacker gains read access to files outside the intended directory scope. The vector shows attack complexity is low (AC:L) and no user interaction is required (UI:N), making exploitation straightforward once authentication is obtained. Critically, the exploit has been publicly disclosed (E:P in CVSS and confirmed POC availability), which means any user with legitimate credentials to the application can immediately leverage this. The vendor's non-response to early disclosure is a negative signal for patching velocity. The low CVSS score may cause security teams to deprioritize this, but the combination of public exploit code, authenticated access only, and low but real confidentiality impact suggests this is a legitimate but bounded risk - attackers must first obtain valid credentials, limiting spontaneous opportunistic exploitation. No KEV status confirmed, indicating CISA has not yet flagged active exploitation beyond proof-of-concept release. |
| Exploit ScenarioDerived | An authenticated user with access to the metatrader-4-mcp service crafts a request to the sync_ea_from_file endpoint, supplying a malicious ea_name parameter containing path traversal sequences such as ../../../etc/passwd. The CallToolRequestSchema function fails to validate or sanitize this input, allowing the path traversal to be passed to underlying file system operations. The attacker reads the contents of files outside the intended expert advisor directory, such as configuration files, credentials, or other sensitive application data stored on the server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 02, 2026
Path traversal in 8nite metatrader-4-mcp 1.0.0 allows authenticated remote attackers to access arbitrary files via manipulation of the ea_name argument in the CallToolRequestSchema function of src/index.ts. The vulnerability affects the sync_ea_from_file component, has publicly available exploit code, and impacts confidentiality with a CVSS score of 2.1. The vendor has not responded to early disclosure notification.
RemediationAI
No vendor-released patch has been identified at time of analysis; the project maintainers have not responded to early disclosure. Immediate mitigation requires input validation and sanitization of the ea_name parameter: implement strict allowlist validation to accept only expected expert advisor filenames without path traversal sequences, reject any input containing ../ or absolute paths, and use Node.js path.resolve() and path.relative() to canonicalize paths and verify they remain within the intended directory before file system operations. As a compensating control, run the metatrader-4-mcp service with minimal file system permissions - restrict the process to read-only access to only the specific directories containing legitimate expert advisor files, preventing directory traversal from granting access to sensitive system files even if the code is exploited. For deployment contexts where multiple users share the same metatrader-4-mcp instance, enforce strong authentication and limit credential distribution only to trusted operators. Monitor file system access logs for suspicious path patterns containing ../ or unexpected file reads from users of the service. Consider disabling the sync_ea_from_file component entirely if not actively used, reducing the attack surface until a patched version is released.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the CallToolRequestSchema function within src/index.ts, which processes the ea_name parameter in the sync_ea_from_file component without proper input validation or path normalization. Path traversal (CWE-22) occurs when user-supplied input containing directory traversal sequences (e.g., ../) is concatenated directly into file system paths without sanitization, allowing attackers to break out of intended directory boundaries. This is a classic file system access control bypass in Node.js/TypeScript applications where string inputs are used in fs module calls without path canonicalization or allowlist validation. The CPE indicates this affects all versions of the 8nite metatrader-4-mcp package, with version 1.0.0 explicitly confirmed.
Know when Metatrader 4 Mcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-26777
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB