Skip to main content

excel-mcp-server CVE-2026-85661

| EUVDEUVD-2026-71117 CRITICAL
Path Traversal (CWE-22)
2026-09-04 VulnCheck GHSA-xv88-r947-5c3v
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach agent driving stdio MCP server
  2. Delivery
    Inject malicious file path into read/write tool
  3. Exploit
    Bypass unset EXCEL_FILES_PATH confinement
  4. Execution
    Read secrets or overwrite arbitrary file
  5. Impact
    Credential 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

excel-mcp-server 0 ≤0.1.8

Affected Packages

euvd excel_mcp_server no fix

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 8.4 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche open-source MCP server, small footprint in agent tooling
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy