CVE-2026-40576haris-musa excel-mcp-server
Critical 9.4 No auth needed
Follow: this CVE · haris-musa · haris-musa excel-mcp-server We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.4
- EPSS
- —
- Auth required
- No
- Published
- Apr 21, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for excel-mcp-server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | excel-mcp-server |
< 0.1.8 |
0.1.8 |
pip install "excel-mcp-server>=0.1.8" |
| PyPI | excel-mcp-server |
< 0.1.8 |
0.1.8 |
pip install "excel-mcp-server>=0.1.8" |
Per OSV / GitHub Advisories (GHSA-j98m-w3xp-9f56, PYSEC-2026-331). Check the version in your lockfile before upgrading.
Affected products
- haris-musa · excel-mcp-server
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.