Description
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.
Published: 2026-09-04
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability occurs in excel‑mcp‑server 0.1.8 when the environment variable EXCEL_FILES_PATH is not set. The program fails to enforce path confinement in stdio mode, allowing an attacker to provide arbitrary file paths to the read and write utilities. As a result the attacker can read from or write to any file that the server process can access.

Affected Systems

The affected product is excel‑mcp‑server version 0.1.8 from vendor haris‑musa. No other product or version combinations are currently identified as vulnerable.

Risk and Exploitability

The CVSS score of 9.3 indicates a severe risk. EPSS is not available, so the current exploitation probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker supplying malicious file paths to the server via stdio mode, which can be performed locally or remotely if the service accepts external connections. Successful exploitation lets an attacker read sensitive data or modify arbitrary files, potentially compromising confidentiality, integrity, and availability of the system.

Generated by OpenCVE AI on September 4, 2026 at 15:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a patched release of excel‑mcp‑server that implements proper path confinement.
  • If an upgrade is not immediately possible, set the environment variable EXCEL_FILES_PATH to a dedicated, restricted directory and ensure the server process has no write permissions beyond that directory.
  • Disable or restrict the stdio mode functionality if it is not required for normal operation; otherwise restrict network access to the service so that only trusted clients can connect via stdio.

Generated by OpenCVE AI on September 4, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title excel-mcp-server 0.1.8 Arbitrary File Read/Write via stdio mode
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-04T14:32:18.828Z

Reserved: 2026-09-04T13:32:27.956Z

Link: CVE-2026-85661

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T15:17:43.643

Modified: 2026-09-04T15:17:43.643

Link: CVE-2026-85661

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T15:30:07Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')