excel-mcp-server (path traversal in remote file handlers) | Critical || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-40576 |
| Date (index) | 2026-04-12 |
| Affected product (index) | excel-mcp-server (path traversal in remote file handlers) |
| GHSA ID | GHSA-j98m-w3xp-9f56 |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-04-14 |
| Ecosystem | Application / upstream project |
| Component | excel-mcp-server (path traversal in remote file handlers) |
| EPSS score | 0.003910000 (FIRST EPSS, 2026-06-30) |
| CVSS score | 9.4 CRITICAL CVSS v3.1 (NVD) |
| CWE | CWE-22 |
| Affected versions | <= 0.1.7 |
| Fixed versions | 0.1.8 |
| Fix status | Patched |
| Exploit status | Public advisory |
excel-mcp-server has a Path Traversal issue
The attacker needs control over path, repository, or file arguments reaching the affected tool call. In MCP environments this often becomes reachable through prompt-influenced tool arguments, shared configs, or directly exposed tool endpoints.
filepath handling bypasses EXCEL_FILES_PATH confinement
Network-exposed file tools can read or overwrite arbitrary host files. The impact is amplified when the server has broad filesystem or repository access.
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The patch adds canonical path validation, symlink-aware containment checks, or explicit repository boundary enforcement before executing the affected tool action.
0.1.8 or later as the primary remediation.A public advisory or disclosure exists, but a direct PoC reference is not yet captured in this repository.
<= 0.1.7... segments, symlink targets, or repository paths that fall outside the intended workspace.https://github.com/haris-musa/excel-mcp-server/commit/f51340ecd5778952405044b203d3a2d4c8a46833