Skip to main content

excel-mcp-server EUVDEUVD-2026-24177

| CVE-2026-40576 CRITICAL
Path Traversal (CWE-22)
2026-04-21 GitHub_M GHSA-j98m-w3xp-9f56
9.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Network scan for exposed MCP server
  2. Delivery
    Send crafted HTTP request with traversal path
  3. Exploit
    Invoke MCP tool handler (e.g., read_excel)
  4. Install
    Bypass get_excel_path() validation
  5. C2
    Read/write arbitrary filesystem locations
  6. Execute
    Exfiltrate sensitive data or plant backdoor
  7. Impact
    Achieve persistent access

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 the excel-mcp-server to be configured in SSE (Server-Sent Events) or Streamable-HTTP transport mode, which are the documented methods for remote access per the project's usage instructions. Default deployment binds to 0.0.0.0, exposing all network interfaces including internet-facing adapters. No authentication is enforced on these transport modes in vulnerable versions. The attacker needs network connectivity to the server's listening port (typically TCP 8080 or custom configured port) and knowledge of the MCP protocol structure to invoke tool handlers. No user interaction required. No special client certificates or API keys needed. Exploitation is NOT limited by: operating system (affects all platforms running the server), filesystem permissions (server runs with its process owner's privileges, typically sufficient to read application configs and write to application directories), or the EXCEL_FILES_PATH setting (the vulnerability bypasses this boundary entirely).

Impact

Real-world risk is CRITICAL despite moderate CVSS confidentiality impact (C:L). The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N confirms network-accessible, low-complexity, zero-authentication exploitation-the worst-case scenario for automated attacks. High integrity (I:H) and availability (A:H) impacts enable data exfiltration, configuration tampering, and system disruption. The default 0.0.0.0 bind address means any deployment following official documentation is immediately vulnerable to internet-wide scanning. Two independent path validation bypasses (absolute paths AND relative traversal) demonstrate fundamental security design failures, making exploitation highly reliable. No EPSS score available due to recent disclosure, but the combination of trivial exploitation (one HTTP request), default-vulnerable configuration, and filesystem-level access suggests high weaponization potential. No CISA KEV listing yet, likely due to limited enterprise deployment of this niche MCP server. Defenders should prioritize: patch immediately if deployed network-facing, assume compromise if logs show external access pre-patch, and audit for unauthorized file modifications.

Exploit ScenarioDerived

An unauthenticated attacker scans for exposed excel-mcp-server instances on port 8080 (or other configured ports) using internet-wide scanning tools. Upon finding an instance, they craft an HTTP request invoking any of the 25 MCP tool handlers (e.g., read_excel, write_excel) with a filepath parameter set to '../../../etc/passwd' or '/etc/shadow'. The server's get_excel_path() function fails to detect the traversal or absolute path, processing the request against the attacker-specified file. The attacker exfiltrates sensitive files, plants backdoors in system directories, or overwrites critical configuration files to establish persistence. Publicly available exploit code has not been identified at time of analysis, but exploitation requires only basic HTTP client knowledge and understanding of the MCP protocol, making development trivial.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

Remote unauthenticated path traversal in excel-mcp-server versions ≤0.1.7 allows network attackers to read, write, and overwrite arbitrary files on the host filesystem. The server's get_excel_path() function fails to validate file paths in two ways: it passes absolute paths without checking boundaries and joins relative paths without resolving traversal sequences. With default configuration binding to 0.0.0.0 (all network interfaces) and no authentication on SSE/Streamable-HTTP transport modes, exploitation is trivial. Vendor-released patch available in version 0.1.8. EPSS data not available; no CISA KEV listing identified at time of analysis.

RemediationAI

Upgrade immediately to excel-mcp-server version 0.1.8, which implements proper path validation in get_excel_path(). Obtain the patched release from the project's GitHub repository referencing advisory GHSA-j98m-w3xp-9f56 (https://github.com/haris-musa/excel-mcp-server/security/advisories/GHSA-j98m-w3xp-9f56). For systems where immediate patching is not feasible, implement these compensating controls with their limitations: (1) Bind the server to 127.0.0.1 (localhost only) and proxy through an authenticated gateway-this prevents direct internet exposure but requires additional infrastructure and does not protect against local network attackers or compromised local services; (2) Deploy strict network ACLs permitting only specific source IPs-this reduces attack surface but requires accurate IP inventory and fails if trusted networks are compromised; (3) Run the server process in a restrictive filesystem jail/container with read-only root filesystem-this limits impact to mounted volumes but may break legitimate Excel file operations if misconfigured. After patching, audit server logs for suspicious file paths containing '../' sequences or absolute paths outside EXCEL_FILES_PATH, and scan the filesystem for unauthorized modifications dated between initial deployment and patch application.

Affected VersionsENISA

excel-mcp-server < 0.1.8

Affected Packages

pypi excel-mcp-server fix: 0.1.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

excel-mcp-server implements the Model Context Protocol (MCP) for Excel file operations, exposing 25 tool handlers over network transports. The vulnerability resides in get_excel_path(), a boundary enforcement function intended to confine operations within EXCEL_FILES_PATH. Classic CWE-22 path traversal occurs through dual implementation flaws: absolute paths (e.g., '/etc/passwd') bypass all checks entirely, while relative paths with traversal sequences (e.g., '../../../etc/passwd') are joined using path concatenation without canonicalization or parent directory resolution. The affected CPE (cpe:2.3:a:haris-musa:excel-mcp-server) indicates this is a third-party server implementation, not part of the official MCP specification. Network exposure occurs through SSE (Server-Sent Events) and Streamable-HTTP transport modes, which are documented as the standard remote access methods.

Know when Excel Mcp Server 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

Vendor (GitHub_M) PRIMARY 9.4 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 22, 2026 - 21:17 nvd
Patch available
Patch available
Apr 21, 2026 - 18:01 EUVD
CVE Published
Apr 21, 2026 - 16:35 nvd
CRITICAL 9.4

DescriptionCVE.org

excel-mcp-server is a Model Context Protocol server for Excel file manipulation. A path traversal vulnerability exists in excel-mcp-server versions up to and including 0.1.7. When running in SSE or Streamable-HTTP transport mode (the documented way to use this server remotely), an unauthenticated attacker on the network can read, write, and overwrite arbitrary files on the host filesystem by supplying crafted filepath arguments to any of the 25 exposed MCP tool handlers. The server is intended to confine file operations to a directory set by the EXCEL_FILES_PATH environment variable. The function responsible for enforcing this boundary - get_excel_path() - fails to do so due to two independent flaws: it passes absolute paths through without any check, and it joins relative paths without resolving or validating the result. Combined with zero authentication on the default network-facing transport and a default bind address of 0.0.0.0 (all interfaces), this allows trivial remote exploitation. This vulnerability is fixed in 0.1.8.

Executive ViewAI

Why It Matters

excel-mcp-server versions 0.1.7 and earlier contain a critical remote file access vulnerability that allows unauthenticated attackers to read, write, and delete arbitrary files on affected servers. Organizations running this component in production face immediate risk of data exfiltration, system compromise, and potential lateral movement if the server has elevated filesystem permissions.

Business Impact: Severe
Compensating Controls

If version 0.1.8 cannot be deployed within 7 days: (1) Restrict network access to excel-mcp-server to trusted internal IP ranges only using firewall or network ACLs; (2) Disable SSE/Streamable-HTTP transport modes if alternative protocols are available; (3) Run the service under a dedicated low-privilege user account with minimal filesystem permissions; (4) Monitor filesystem write activity for anomalous changes to sensitive files. These controls reduce but do not eliminate risk and are not substitutes for patching.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy