Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach agent driving stdio MCP server
-
DeliveryInject malicious file path into read/write tool
-
ExploitBypass unset EXCEL_FILES_PATH confinement
-
ExecutionRead secrets or overwrite arbitrary file
-
ImpactCredential theft or code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the server to be running in stdio transport mode AND the EXCEL_FILES_PATH environment variable to be unset (its intended sandbox root); under these conditions the read and write tools accept unchecked absolute or ../ traversal paths and operate on any file accessible to the server process. Exploitation is limited by: the process's own filesystem permissions (it can only reach files the running user can read/write), the stdio (local-client) deployment model, and the need for an attacker to influence the tool inputs - in agent deployments typically via injected untrusted content rather than direct network access. Setting EXCEL_FILES_PATH or using a non-stdio confined configuration removes the exposure. |
| Impact | The supplied CVSS 4.0 vector (9.3, AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:H) rates this critical, but the AV:N network assessment is in tension with the described precondition: exploitation applies to stdio transport mode, which is a local process driven by a local client, so a local/adjacent vector (AV:L) is more defensible - verify transport assumptions with the vendor. Real risk is meaningfully gated by two conditions: the server must run in stdio mode and EXCEL_FILES_PATH must be unset. In agentic deployments the practical attack surface is prompt/content injection - untrusted spreadsheet content or task input steering the LLM to call the read/write tools with malicious paths - which raises complexity above raw AC:L in practice. No EPSS or KEV data is provided and no public exploit is identified, so this is a high-impact-but-not-yet-widely-exploited issue: prioritize where the MCP server processes untrusted content, otherwise moderate urgency. |
| Exploit ScenarioDerived | An analyst runs excel-mcp-server in stdio mode without setting EXCEL_FILES_PATH and connects it to an LLM agent. An attacker plants a crafted task or malicious spreadsheet that induces the agent to call the read tool on ../../../../home/user/.ssh/id_rsa (exfiltration) or the write tool to overwrite ~/.bashrc, gaining credential disclosure or code execution on next login. No public PoC is identified, but the traversal is trivially reproducible given the described missing validation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Arbitrary file read and write in excel-mcp-server 0.1.8 lets attackers escape the intended Excel workspace when the server runs in stdio mode with the EXCEL_FILES_PATH environment variable unset. Because path confinement is not enforced, unchecked absolute or traversal paths passed to the read and write tools reach any file the server process can access, enabling disclosure of secrets and overwrite of arbitrary files (CWE-22). Reported by VulnCheck; the issue is tracked upstream (issue #149) with no public exploit identified at time of analysis.
RemediationAI
No vendor-released patched version is identified in the provided data (upstream tracking exists in issue #149 but no fixed tag is confirmed) - treat as No vendor-released patch identified at time of analysis and monitor the repository for a release above 0.1.8. As a specific compensating control, set the EXCEL_FILES_PATH environment variable to a dedicated, isolated directory so path confinement is enforced; this is the direct mitigation but requires that all legitimate workbooks live under that path. Additionally, run the server as a low-privilege user with filesystem access scoped only to the Excel working directory (limits blast radius of both read and write, at the cost of restricting where files can be placed), and avoid feeding untrusted spreadsheet content or task input to the driving agent. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/excel-mcp-server-0.1.8-arbitrary-file-read-write-via-stdio-mode) for guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
excel-mcp-server (Python package by haris-musa, CPE cpe:2.3:a:haris-musa:excel-mcp-server) is a Model Context Protocol server that exposes Excel read/write operations as MCP tools to an LLM/agent client. In stdio transport mode the server is driven by a local MCP client over standard I/O. The vulnerability is a classic path-traversal / missing path-confinement flaw (CWE-22): the code in src/excel_mcp/validation.py and server.py is intended to restrict file operations to a sandbox directory defined by the EXCEL_FILES_PATH environment variable, but when that variable is unset in stdio mode the validation is bypassed, so user/agent-supplied filepaths (e.g. ../../etc/passwd or absolute paths) are honored directly by the read and write tools.
Know when Excel Mcp Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Stdio mode is a locally-driven process so AV:L; no auth or interaction gate the tool calls (PR:N/UI:N); arbitrary read and write yield C:H/I:H and file overwrite supports A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
excel-mcp-server 0.1.8 fails to enforce path confinement in stdio mode when EXCEL_FILES_PATH is unset, allowing attackers to read and write arbitrary files. Attackers can supply unchecked file paths to read and write tools to access any file accessible to the process.
Executive ViewAI
excel-mcp-server 0.1.8 contains a path traversal vulnerability (CWE-22) that allows attackers to read and write arbitrary files accessible to the server process, including sensitive configuration and credential files. Organizations using this component in stdio mode with the EXCEL_FILES_PATH environment variable unset face immediate risk of data exfiltration and system compromise. With no vendor patch currently available and a CRITICAL severity rating, immediate containment measures are required.
Set EXCEL_FILES_PATH environment variable to a restricted directory to enforce file access boundaries. Run excel-mcp-server process with minimal file system permissions using OS-level access controls (e.g., dedicated user account with limited capabilities). Isolate the server on network segments away from sensitive systems; restrict inbound connections to trusted clients only. Enable and monitor audit logs for file read/write operations. These controls reduce but do not eliminate risk; apply vendor patch immediately upon release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-71117
GHSA-xv88-r947-5c3v
NVD
CVE.org
EPSS
Exploit-DB