AAK-EXCEL-MCP-001: excel-mcp-server 0.1.7 or earlier path traversal
- Severity
- CRITICAL
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/supply_chain.py- Auto-fixable
- No.
- SARIF name
ExcelMcpPathTraversal
What it detects
Project depends on excel-mcp-server at a version <= 0.1.7. CVE-2026-40576 is a path-traversal in the server's get_excel_path() helper — absolute paths pass through unchecked, relative paths are joined without resolving-and-validating the result. Combined with the default 0.0.0.0 bind + zero authentication on SSE / Streamable-HTTP, any unauthenticated network peer can read, write or overwrite files anywhere on the host. Fixed in 0.1.8.
How to fix
Upgrade excel-mcp-server to 0.1.8 or later. Until the bump is in, bind the server to 127.0.0.1 and front it with an auth proxy.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-EXCEL-MCP-001
Limitations
Reads the dependency declarations of the root requirements*.txt, pyproject.toml and Pipfile in their own formats, and reports one whose range admits a release below 0.1.8 (excel-mcp-server<0.1.8 included), and the version the root Pipfile.lock, poetry.lock or uv.lock resolves when it is below 0.1.8. A git requirement's dotted release tag is read as its version (@v0.1.7); a commit, a branch or a tag with no dot (@v2) states none. Only a tag written after the @ alone is read: @refs/tags/v0.1.7, and the release an archive's file name states (.../archive/refs/tags/v0.1.7.tar.gz, excel-mcp-server-0.1.7.tar.gz), are not, so such a requirement states no version and is not reported, even at 0.1.7 or earlier. A declaration that states no version, such as excel-mcp-server alone or a git URL without a release tag, is not reported, and neither is a requirements file in a sub-directory or an .mcp.json launcher. A manifest over 2 MB is not read. A lockfile over 32 MiB is not read.
References
- CVE: CVE-2026-40576
- OWASP MCP Top 10: MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering), MCP05:2025 (Command Injection & Execution)
- OWASP Agentic Top 10: ASI02 (Tool Misuse and Exploitation), ASI04 (Agentic Supply Chain Vulnerabilities)
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-INJECT-03 (Header Injection)
- CSA AI Controls Matrix (AICM): AIS-07, IVS-04
All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-EXCEL-MCP-001.md: the page then shows that text, with the registry reference appended under it.