๐Ÿ” CVE Alert

CVE-2026-40576

CRITICAL 9.4

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

CVSS Score
9.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor haris-musa
Product excel-mcp-server
Published Apr 21, 2026
Last Updated Apr 21, 2026
Stay Ahead of the Next One

Get instant alerts for haris-musa excel-mcp-server

Be the first to know when new critical vulnerabilities affecting haris-musa excel-mcp-server are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

Affected Versions

haris-musa / excel-mcp-server
< 0.1.8

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/haris-musa/excel-mcp-server/security/advisories/GHSA-j98m-w3xp-9f56