Vulnerabilities in pkg:pypi/excel-mcp-server

PACKAGE
Advisory Identifier: GHSA-j98m-w3xp-9f56
Advisory Summary

CVE-2026-40576 is a CRITICAL (CVSS 9.4) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Excel mcp server libraries in the PyPI ecosystem. The issue involves excel-mcp-server has a path traversal issue. Remediation is available by upgrading affected packages to version 0.1.8.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/excel-mcp-server

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/excel-mcp-server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j98m-w3xp-9f56 CVE-2026-40576 CRITICAL excel-mcp-server has a Path Traversal issue

CVE-2026-40576 at a Glance

CVE Identifier CVE-2026-40576
GHSA Identifier GHSA-j98m-w3xp-9f56
Severity CRITICAL
CVSS v3.1 Base Score 9.4
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Excel mcp server
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-40576

To remediate this vulnerability, upgrade all affected Excel mcp server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

excel-mcp-server fixed: 0.1.8
pip install excel-mcp-server>=0.1.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show excel-mcp-server

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-40576, inspect your installed packages using pip:

pip show excel-mcp-server

Analyze the terminal output to locate any version of Excel mcp server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.8), your application is affected.

Note: The pip show excel-mcp-server command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Excel mcp server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary A path traversal vulnerability exists in [`excel-mcp-server`](https://github.com/haris-musa/excel-mcp-server) versions up to and including `0.1.7`. When running in SSE or Streamable-HTTP transport mode (the documented way to use this server remotely), an unauthenticated attacker on the network can read, write, and overwrite arbitrary files on the host filesystem by supplying crafted `filepath` arguments to any of the 25 exposed MCP tool handlers. The server is intended to confine file operations to a directory set by the `EXCEL_FILES_PATH` environment variable. The function responsible for enforcing this boundary — `get_excel_path()` — fails to do so due to two independent flaws: it passes absolute paths through without any check, and it joins relative paths without resolving or validating the result. Combined with zero authentication on the default network-facing transport and a default bind address of `0.0.0.0` (all interfaces), this allows trivial remote exploitation. --- ## Details | Field | Value | |-------|-------| | **Package** | [`excel-mcp-server`](https://pypi.org/project/excel-mcp-server/) (PyPI) | | **Repository** | https://github.com/haris-musa/excel-mcp-server | | **Affected versions** | `<= 0.1.7` | | **Tested version** | `0.1.7` — commit [`de4dc75`](https://github.com/haris-musa/excel-mcp-server/commit/de4dc75f6ba629ccd2e097f5963235846be622e6) | | **CWE** | [CWE-22](https://cwe.mitre.org/data/definitions/22.html) — Improper Limitation of a Pathname to a Restricted Directory | | **CVSS 3.1** | **8.2 High** — `AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H` | | **Transports affected** | `sse`, `streamable-http` (network-facing) | | **Authentication required** | **None** | --- ## Vulnerable Code The root cause is in `src/excel_mcp/server.py`, lines 75–94: ```python def get_excel_path(filename: str) -> str: """Get full path to Excel file.""" # FLAW 1 — absolute paths bypass the sandbox entirely if os.path.isabs(filename): return filename # line 86: returned as-is # In SSE/HTTP mode, EXCEL_FILES_PATH is set if EXCEL_FILES_PATH is None: raise ValueError(...) # FLAW 2 — relative paths joined without boundary validation return os.path.join(EXCEL_FILES_PATH, filename) # line 94: "../" escapes ``` ### Why this is exploitable **Flaw 1 — Absolute path bypass (line 86):** If the attacker passes `filepath="/etc/shadow"` or `filepath="/home/user/secrets.xlsx"`, the function returns it unchanged. The sandbox directory `EXCEL_FILES_PATH` is never consulted. **Flaw 2 — Relative traversal (line 94):** `os.path.join("/srv/sandbox", "../../etc/passwd")` produces `"/srv/sandbox/../../etc/passwd"`, which resolves to `"/etc/passwd"`. No `os.path.realpath()` or `os.path.commonpath()` check is performed, so `../` sequences escape the sandbox. ### Contributing factors that increase severity 1. **Default bind address is `0.0.0.0`** (all interfaces) — `server.py` line 70: ```python host=os.environ.get("FASTMCP_HOST", "0.0.0.0"), ``` A user who follows the README and runs `uvx excel-mcp-server streamable-http` without explicitly setting `FASTMCP_HOST` exposes the server to their entire LAN. 2. **Zero authentication** — FastMCP's SSE and Streamable-HTTP transports ship with no authentication. The server adds none. Any TCP client that reaches port 8017 can call any tool. 3. **All 25 tool handlers are affected** — every `@mcp.tool()` decorated function calls `get_excel_path(filepath)` as its first action. This is not an isolated endpoint; it is the entire API surface. 4. **Arbitrary directory creation** — `src/excel_mcp/workbook.py` line 24 runs `path.parent.mkdir(parents=True, exist_ok=True)` before saving, meaning the attacker can create directory trees at any writable location. --- ## Proof of Concept ### Video demonstration [![asciicast](https://asciinema.org/a/2HVA3uKvVeFahIXY.svg)](https://asciinema.org/a/2HVA3uKvVeFahIXY) **asciinema recording:** https://asciinema.org/a/2HVA3uKvVeFahIXY I have also attached the full PoC shell script (`record-poc.sh`) and the Python exploit script (`exploit_test.py`) to a Google Drive for the maintainer to review and reproduce independently: **Google Drive (PoC scripts):** Shared privately via email Contents: - `record-poc.sh` — automated PoC recording script (bash) - `exploit_test.py` — Python exploit that tests all 7 primitives against a running server ### Setup ```bash # install pip install excel-mcp-server mcp httpx # start server with a sandbox directory mkdir -p /tmp/sandbox EXCEL_FILES_PATH=/tmp/sandbox FASTMCP_HOST=127.0.0.1 FASTMCP_PORT=8017 \ excel-mcp-server streamable-http ``` ### Exploit script The following Python script connects to the server with zero credentials and demonstrates all exploitation primitives: {REMOVING CAUSE FOR SAFETY CONCERNS} ### Results All 7 test cases passed against a live server instance: ``` CONFIRMED: 7 | FAILED: 0 [CONFIRMED] AUTH: Connected with ZERO authentication. 25 tools exposed. [CONFIRMED] P1-WRITE-ABS: file exists=True size=4783B (outside sandbox) [CONFIRMED] P2-WRITE-TRAVERSAL: escaped sandbox via ../ exists=True [CONFIRMED] P3-MKDIR: attacker directory tree created=True [CONFIRMED] P4-READ: exfiltrated SSN=True name=True [CONFIRMED] P5-OVERWRITE: victim data replaced=True [CONFIRMED] P6-STAT: server attempted to open /etc/hostname (format error confirms file access) ``` ### Filesystem evidence (independently verified after exploit) **Files created outside the sandbox:** ``` $ ls -la /tmp/cve-hunt/outside_sandbox/ -rw-rw-r-- 1 hitarth hitarth 4783 Apr 10 17:36 P1_absolute_write.xlsx -rw-rw-r-- 1 hitarth hitarth 4783 Apr 10 17:36 P2_traversal_write.xlsx ``` **Attacker-created directory tree:** ``` $ find /tmp/cve-hunt/attacker_dir /tmp/cve-hunt/attacker_dir /tmp/cve-hunt/attacker_dir/deep /tmp/cve-hunt/attacker_dir/deep/nested /tmp/cve-hunt/attacker_dir/deep/nested/x.xlsx ``` **Victim file after overwrite (original SSN destroyed):** ``` ('SSN', 'Name') ('ATTACKER-CONTROLLED', 'PWNED') # was: ('123-45-6789', 'Alice Johnson') ('987-65-4321', 'Bob Smith') ``` --- ## Impact An unauthenticated network attacker can: | What | How | Severity | |------|-----|----------| | **Read any `.xlsx` file** on the host | Supply absolute path to `read_data_from_excel` | Confidentiality loss — cross-tenant data theft of financial data, HR records, reports | | **Write `.xlsx` files anywhere** on the filesystem | Supply absolute path or `../` traversal to `create_workbook` or `write_data_to_excel` | Integrity loss — destroy or corrupt any writable `.xlsx`, plant malicious files | | **Create arbitrary directories** anywhere writable | `create_workbook` triggers `mkdir(parents=True)` on attacker-controlled path | Precursor to privilege escalation or DoS | | **Overwrite existing business files** with attacker content | `write_data_to_excel` with absolute path to target | Silent data corruption — audit reports, salary sheets, financial models | | **Fill disk** via repeated writes | Loop `create_workbook` with unique filenames | Denial of service — crash services dependent on free disk | | **Plant macro-enabled templates** (`.xltm`) at known shared paths | `create_workbook` at path like `/home/user/Templates/report.xltm` | Client-side RCE chain when downstream user opens the template in Excel | ### Who is affected Anyone running `excel-mcp-server` in SSE or Streamable-HTTP mode on a reachable network — which is the documented and recommended deployment for remote use. The project README explicitly states: - *"Works both locally and as a remote service"* - *"Streamable HTTP Transport (Recommended for remote connections)"* The server has **3,655+ GitHub stars** and is published on **PyPI** with active downloads. --- ## Suggested Fix Replace `get_excel_path()` with a version that enforces the sandbox boundary: ```python import os def get_excel_path(filename: str) -> str: if EXCEL_FILES_PATH is None: # stdio mode: local caller is trusted if not os.path.isabs(filename): raise ValueError("must be absolute path in stdio mode") return filename # Remote mode (SSE / streamable-http): enforce sandbox if os.path.isabs(filename): raise ValueError("absolute paths are not permitted in remote mode") if "\x00" in filename: raise ValueError("NUL byte in filename") base = os.path.realpath(EXCEL_FILES_PATH) candidate = os.path.realpath(os.path.join(base, filename)) if not candidate.startswith(base + os.sep) and candidate != base: raise ValueError(f"path escapes EXCEL_FILES_PATH: {filename}") return candidate ``` ## References - [CWE-22: Improper Limitation of a Pathname to a Restricted Directory](https://cwe.mitre.org/data/definitions/22.html) - [OWASP Path Traversal](https://owasp.org/www-community/attacks/Path_Traversal) - [Model Context Protocol Specification](https://modelcontextprotocol.io/) - [FastMCP Documentation](https://github.com/jlowin/fastmcp)

CVE-2026-40576 Affected Excel mcp server Versions

1 component(s)
Fixed Versions:
0.1.8
Product / Package Ecosystem Affected Versions Fixed Version
excel-mcp-server
PyPI
< 0.1.8
0.1.8

References

Frequently Asked Questions

What is CVE-2026-40576?
CVE-2026-40576 is a security vulnerability in Excel mcp server involving excel-mcp-server has a Path Traversal issue under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Excel mcp server versions are affected?
Affected versions include releases prior to 0.1.8 across affected packages: excel-mcp-server.
What version fixes CVE-2026-40576?
Upgrading to 0.1.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is excel-mcp-server affected?
Yes, excel-mcp-server is affected in releases prior to 0.1.8. Upgrade your dependency to 0.1.8 or later.
What is the CVSS score of CVE-2026-40576?
CVE-2026-40576 has a CVSS v3.1 base score of 9.4 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H.
What CWE is associated with CVE-2026-40576?
CVE-2026-40576 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for CVE-2026-40576?
Run the dependency tree command: 'pip show excel-mcp-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j98m-w3xp-9f56",
  "modified" : "2026-04-24T20:44:55Z",
  "published" : "2026-04-14T00:03:17Z",
  "aliases" : [ "CVE-2026-40576" ],
  "summary" : "excel-mcp-server has a Path Traversal issue",
  "details" : "## Summary\n\nA path traversal vulnerability exists in [`excel-mcp-server`](https://github.com/haris-musa/excel-mcp-server) versions up to and including `0.1.7`. When running in SSE or Streamable-HTTP transport mode (the documented way to use this server remotely), an unauthenticated attacker on the network can read, write, and overwrite arbitrary files on the host filesystem by supplying crafted `filepath` arguments to any of the 25 exposed MCP tool handlers.\n\nThe server is intended to confine file operations to a directory set by the `EXCEL_FILES_PATH` environment variable. The function responsible for enforcing this boundary — `get_excel_path()` — fails to do so due to two independent flaws: it passes absolute paths through without any check, and it joins relative paths without resolving or validating the result. Combined with zero authentication on the default network-facing transport and a default bind address of `0.0.0.0` (all interfaces), this allows trivial remote exploitation.\n\n---\n\n## Details\n\n| Field | Value |\n|-------|-------|\n| **Package** | [`excel-mcp-server`](https://pypi.org/project/excel-mcp-server/) (PyPI) |\n| **Repository** | https://github.com/haris-musa/excel-mcp-server |\n| **Affected versions** | `<= 0.1.7` |\n| **Tested version** | `0.1.7` — commit [`de4dc75`](https://github.com/haris-musa/excel-mcp-server/commit/de4dc75f6ba629ccd2e097f5963235846be622e6) |\n| **CWE** | [CWE-22](https://cwe.mitre.org/data/definitions/22.html) — Improper Limitation of a Pathname to a Restricted Directory |\n| **CVSS 3.1** | **8.2 High** — `AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H` |\n| **Transports affected** | `sse`, `streamable-http` (network-facing) |\n| **Authentication required** | **None** |\n\n---\n\n## Vulnerable Code\n\nThe root cause is in `src/excel_mcp/server.py`, lines 75–94:\n\n```python\ndef get_excel_path(filename: str) -> str:\n    \"\"\"Get full path to Excel file.\"\"\"\n\n    # FLAW 1 — absolute paths bypass the sandbox entirely\n    if os.path.isabs(filename):\n        return filename                     # line 86: returned as-is\n\n    # In SSE/HTTP mode, EXCEL_FILES_PATH is set\n    if EXCEL_FILES_PATH is None:\n        raise ValueError(...)\n\n    # FLAW 2 — relative paths joined without boundary validation\n    return os.path.join(EXCEL_FILES_PATH, filename)   # line 94: \"../\" escapes\n```\n\n### Why this is exploitable\n\n**Flaw 1 — Absolute path bypass (line 86):**\nIf the attacker passes `filepath=\"/etc/shadow\"` or `filepath=\"/home/user/secrets.xlsx\"`, the function returns it unchanged. The sandbox directory `EXCEL_FILES_PATH` is never consulted.\n\n**Flaw 2 — Relative traversal (line 94):**\n`os.path.join(\"/srv/sandbox\", \"../../etc/passwd\")` produces `\"/srv/sandbox/../../etc/passwd\"`, which resolves to `\"/etc/passwd\"`. No `os.path.realpath()` or `os.path.commonpath()` check is performed, so `../` sequences escape the sandbox.\n\n### Contributing factors that increase severity\n\n1. **Default bind address is `0.0.0.0`** (all interfaces) — `server.py` line 70:\n   ```python\n   host=os.environ.get(\"FASTMCP_HOST\", \"0.0.0.0\"),\n   ```\n   A user who follows the README and runs `uvx excel-mcp-server streamable-http` without explicitly setting `FASTMCP_HOST` exposes the server to their entire LAN.\n\n2. **Zero authentication** — FastMCP's SSE and Streamable-HTTP transports ship with no authentication. The server adds none. Any TCP client that reaches port 8017 can call any tool.\n\n3. **All 25 tool handlers are affected** — every `@mcp.tool()` decorated function calls `get_excel_path(filepath)` as its first action. This is not an isolated endpoint; it is the entire API surface.\n\n4. **Arbitrary directory creation** — `src/excel_mcp/workbook.py` line 24 runs `path.parent.mkdir(parents=True, exist_ok=True)` before saving, meaning the attacker can create directory trees at any writable location.\n\n---\n\n## Proof of Concept\n\n### Video demonstration\n\n[![asciicast](https://asciinema.org/a/2HVA3uKvVeFahIXY.svg)](https://asciinema.org/a/2HVA3uKvVeFahIXY)\n\n**asciinema recording:** https://asciinema.org/a/2HVA3uKvVeFahIXY\n\nI have also attached the full PoC shell script (`record-poc.sh`) and the Python exploit script (`exploit_test.py`) to a Google Drive for the maintainer to review and reproduce independently:\n\n**Google Drive (PoC scripts):**  Shared privately via email\n\nContents:\n- `record-poc.sh` — automated PoC recording script (bash)\n- `exploit_test.py` — Python exploit that tests all 7 primitives against a running server\n\n### Setup\n\n```bash\n# install\npip install excel-mcp-server mcp httpx\n\n# start server with a sandbox directory\nmkdir -p /tmp/sandbox\nEXCEL_FILES_PATH=/tmp/sandbox FASTMCP_HOST=127.0.0.1 FASTMCP_PORT=8017 \\\n    excel-mcp-server streamable-http\n```\n\n### Exploit script\n\nThe following Python script connects to the server with zero credentials and demonstrates all exploitation primitives:\n\n{REMOVING CAUSE FOR SAFETY CONCERNS}\n\n### Results\n\nAll 7 test cases passed against a live server instance:\n\n```\nCONFIRMED: 7  |  FAILED: 0\n\n[CONFIRMED] AUTH: Connected with ZERO authentication. 25 tools exposed.\n[CONFIRMED] P1-WRITE-ABS: file exists=True size=4783B (outside sandbox)\n[CONFIRMED] P2-WRITE-TRAVERSAL: escaped sandbox via ../ exists=True\n[CONFIRMED] P3-MKDIR: attacker directory tree created=True\n[CONFIRMED] P4-READ: exfiltrated SSN=True name=True\n[CONFIRMED] P5-OVERWRITE: victim data replaced=True\n[CONFIRMED] P6-STAT: server attempted to open /etc/hostname (format error confirms file access)\n```\n\n### Filesystem evidence (independently verified after exploit)\n\n**Files created outside the sandbox:**\n```\n$ ls -la /tmp/cve-hunt/outside_sandbox/\n-rw-rw-r-- 1 hitarth hitarth 4783 Apr 10 17:36 P1_absolute_write.xlsx\n-rw-rw-r-- 1 hitarth hitarth 4783 Apr 10 17:36 P2_traversal_write.xlsx\n```\n\n**Attacker-created directory tree:**\n```\n$ find /tmp/cve-hunt/attacker_dir\n/tmp/cve-hunt/attacker_dir\n/tmp/cve-hunt/attacker_dir/deep\n/tmp/cve-hunt/attacker_dir/deep/nested\n/tmp/cve-hunt/attacker_dir/deep/nested/x.xlsx\n```\n\n**Victim file after overwrite (original SSN destroyed):**\n```\n  ('SSN', 'Name')\n  ('ATTACKER-CONTROLLED', 'PWNED')     # was: ('123-45-6789', 'Alice Johnson')\n  ('987-65-4321', 'Bob Smith')\n```\n\n---\n\n## Impact\n\nAn unauthenticated network attacker can:\n\n| What | How | Severity |\n|------|-----|----------|\n| **Read any `.xlsx` file** on the host | Supply absolute path to `read_data_from_excel` | Confidentiality loss — cross-tenant data theft of financial data, HR records, reports |\n| **Write `.xlsx` files anywhere** on the filesystem | Supply absolute path or `../` traversal to `create_workbook` or `write_data_to_excel` | Integrity loss — destroy or corrupt any writable `.xlsx`, plant malicious files |\n| **Create arbitrary directories** anywhere writable | `create_workbook` triggers `mkdir(parents=True)` on attacker-controlled path | Precursor to privilege escalation or DoS |\n| **Overwrite existing business files** with attacker content | `write_data_to_excel` with absolute path to target | Silent data corruption — audit reports, salary sheets, financial models |\n| **Fill disk** via repeated writes | Loop `create_workbook` with unique filenames | Denial of service — crash services dependent on free disk |\n| **Plant macro-enabled templates** (`.xltm`) at known shared paths | `create_workbook` at path like `/home/user/Templates/report.xltm` | Client-side RCE chain when downstream user opens the template in Excel |\n\n### Who is affected\n\nAnyone running `excel-mcp-server` in SSE or Streamable-HTTP mode on a reachable network — which is the documented and recommended deployment for remote use. The project README explicitly states:\n- *\"Works both locally and as a remote service\"*\n- *\"Streamable HTTP Transport (Recommended for remote connections)\"*\n\nThe server has **3,655+ GitHub stars** and is published on **PyPI** with active downloads.\n\n---\n\n## Suggested Fix\n\nReplace `get_excel_path()` with a version that enforces the sandbox boundary:\n\n```python\nimport os\n\ndef get_excel_path(filename: str) -> str:\n    if EXCEL_FILES_PATH is None:\n        # stdio mode: local caller is trusted\n        if not os.path.isabs(filename):\n            raise ValueError(\"must be absolute path in stdio mode\")\n        return filename\n\n    # Remote mode (SSE / streamable-http): enforce sandbox\n    if os.path.isabs(filename):\n        raise ValueError(\"absolute paths are not permitted in remote mode\")\n    if \"\\x00\" in filename:\n        raise ValueError(\"NUL byte in filename\")\n\n    base = os.path.realpath(EXCEL_FILES_PATH)\n    candidate = os.path.realpath(os.path.join(base, filename))\n\n    if not candidate.startswith(base + os.sep) and candidate != base:\n        raise ValueError(f\"path escapes EXCEL_FILES_PATH: {filename}\")\n\n    return candidate\n```\n\n## References\n\n- [CWE-22: Improper Limitation of a Pathname to a Restricted Directory](https://cwe.mitre.org/data/definitions/22.html)\n- [OWASP Path Traversal](https://owasp.org/www-community/attacks/Path_Traversal)\n- [Model Context Protocol Specification](https://modelcontextprotocol.io/)\n- [FastMCP Documentation](https://github.com/jlowin/fastmcp)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "excel-mcp-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.8"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.1.7"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/haris-musa/excel-mcp-server/security/advisories/GHSA-j98m-w3xp-9f56"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40576"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/haris-musa/excel-mcp-server/commit/f51340ecd5778952405044b203d3a2d4c8a46833"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/haris-musa/excel-mcp-server"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-14T00:03:17Z",
    "nvd_published_at" : "2026-04-21T17:16:55Z"
  }
}