Read the docs
TI-2026-29316 Aliases CVE-2026-40576GHSA-j98m-w3xp-9f56

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in excel-mcp-server

Priority HIGH 80CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00465 40th percentileScored 2026-11-07
Fix Fixed excel-mcp-server (haris-musa): 0.1.8excel-mcp-server (PyPI): 0.1.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
haris-musaexcel-mcp-serverbefore 0.1.80.1.8Patch availableCNA
—excel-mcp-server (PyPI)before 0.1.80.1.8Patch availableGHSA-j98m-w3xp-9f56
  • excel-mcp-server Vendorharis-musa Affected before 0.1.8 Fixed in 0.1.8 Patch available CNA
  • excel-mcp-server (PyPI) Vendor— Affected before 0.1.8 Fixed in 0.1.8 Patch available GHSA-j98m-w3xp-9f56

Remediation

  • Fix · CNA excel-mcp-server (haris-musa) Fixed in 0.1.8
  • Fix · GHSA-j98m-w3xp-9f56 excel-mcp-server (PyPI) Fixed in 0.1.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40576
  2. 2026-10-03 Alias added: GHSA-j98m-w3xp-9f56
  3. 2026-10-21 EPSS moved to the 50th–90th percentile
  4. 2026-10-25 EPSS moved to the below the 50th percentile

References

  • TI-2026-58773 excel-mcp-server 0.1.8 Arbitrary File Read/Write via stdio mode CVSS 4.0CRITICAL 9.3

Sources