Does the Excel MCP server keep agents inside approved workbooks?
The most searched Excel MCP server, haris-musa/excel-mcp-server, is an independent MIT-licensed community project, not a Microsoft product, and it does not keep an agent inside approved files by default. Issue 149 on the repository, reported on 5 June 2026 against version 0.1.8, says that in stdio mode no path confinement applies, so the read and write tools can reach any file the server process can reach. The v1.0.0 release notes add confinement only when the server is started with --allow-dir, which limits paths to the listed folders after symlinks are resolved. Before approval, confirm three things: the exact version in use, the transport (stdio, SSE or streamable HTTP), and whether --allow-dir is set on the launch command. Account and plan setup are outside this page.
Do not rely on the README alone for this check. The README still describes the EXCEL_FILES_PATH variable for SSE and streamable HTTP, while the v1.0.0 release notes describe --allow-dir, so the two pages differ. Ask the team deploying the server which page their configuration was built from, then read the launch arguments in the actual client configuration on each machine. A server that reads a path variable but is launched without the newer flag may not confine anything in the way the reviewer expects. The releases page records which behavior each version carries, so match the installed build to its notes rather than to the main branch.
Treat path confinement as one control among several. Confinement limits where the server reads and writes, but it does not decide which tool calls an agent makes inside an allowed folder. Ask whether the workbook folder is dedicated to this purpose, whether it holds only copies of files the agent may change, and whether anything sensitive sits beside it. If the server runs in stdio mode on a laptop, every file that user can open is a candidate, so the reviewer should decide whether an unconfined launch is acceptable at all. Record the decision, the version and the launch flags in the approval file so a later upgrade or config change triggers a new review.
Which controls apply to which version and transport
This table compares the community Excel MCP server's controls before and after version 1.0.0, and notes which transport or setting each one depends on. Each cell says whether the control is built in, configured by the operator, or not documented in the sources reviewed. Read the path rows first, because the README and the release notes name different path settings, so confirm which one your version reads before approving a deployment.
| Control | Before 1.0.0 (issue 149, version 0.1.8) | From 1.0.0 (release notes) | Transport and setting |
|---|---|---|---|
| Folder confinement | Not applied in stdio mode; read and write tools reach any file the process can reach | Built in: paths limited to folders given by --allow-dir, after symlinks resolve | Operator configured: the operator chooses the folders. Transport scope not stated in the release notes. |
| Folder setting name | Not stated in issue 149 | Release notes use --allow-dir; the README still describes EXCEL_FILES_PATH for SSE and streamable HTTP | Pages disagree. Check which flag or variable your version reads. |
| File extension check | Not documented | Built in: only Excel file extensions are accepted | Built in per release notes. Transport scope not stated. |
| Overwrite protection | Not documented | Built in: existing workbooks are not overwritten unless the caller requests it | Built in per release notes. Confirm behavior on each transport you run. |
| Formula denylist | Built in but matched uppercase names only, so lowercase forms were written | Built in: formulas checked on every write path, with a wider blocked list including Excel 4 macro and IMPORT functions | Applies to writes on the transports the release notes cover. Confirm for your build. |
| DDE and external workbook references | Not documented | Built in: DDE links and references to other workbooks are rejected | Built in per release notes. No operator setting named. |
| Range size and read paging | Not documented | Built in: every range operation limited to 100,000 cells; reads are paged | Built in per release notes. No operator setting named. |
| Authentication on SSE and streamable HTTP | Not documented for network transports reviewed | Not documented in the release notes reviewed | Stdio runs as the local process. Ask the maintainer and check TOOLS.md before exposing SSE or HTTP. |
What the read and write tools can reach on the host
The README groups the server's capabilities into a few broad tool families, but each one can touch files on the host that runs the server. Review the server by mapping every tool to the workbooks, sheets and folders it can read or overwrite, because the risk sits at the level of individual tool calls.
Workbook and worksheet lifecycle
The README lists creating, reading and updating workbooks and worksheets, and copying, renaming or deleting worksheets. Creating a workbook writes a new file to disk, while updating and deleting sheets change or remove content in an existing one. Confirm which of these operations can target a path outside an intended folder, and whether an existing workbook is overwritten or only changed when the caller asks for it.
Read the READMEFormula writing
Formula tools write expressions into cells, and a formula can pull data from other sources when the workbook is opened or recalculated. The formula safety denylist is the main control here, and reviewers should test it against lowercase and mixed-case function names, not only the uppercase forms. Check whether a written formula can reference external workbooks, links or web services.
Read issue 149Cell reading and range updates
Read and update tools return cell values and write ranges across a sheet. Values read from a workbook can carry sensitive figures, names or account data into the model's context, and range writes can overwrite large areas in one call. Ask which range limits apply to each operation and whether reads are paged, so a single call cannot pull or replace an entire file.
Formatting, charts and pivot tables
Formatting, chart and pivot table tools change how data appears and summarize it, which can alter reports that other people rely on. Pivot tables and charts can point at source ranges that contain data the user did not intend to expose. Map these tools to the shared reports in your environment and decide whether they should run only on copies.
Excel tables and structured data
Excel table tools create and modify structured ranges that formulas and other workbooks may depend on. Changes to column names or table bounds can break downstream reports without any visible error at the time of the change. Include table operations in your change review and test them on sample workbooks first.
Using TOOLS.md as the inventory
The README points to a separate TOOLS.md file for the complete tool list, and that file is the authoritative inventory for the version you run. Record each tool name, its parameters, and the file or folder argument it accepts, then mark which ones can write or delete. Repeat the review when you upgrade, because tool names and parameters can change between releases.
Open the READMEHow path limits, formula checks and range limits are enforced
The v1.0.0 release notes of haris-musa/excel-mcp-server describe three layers that limit what the tools can touch. First, file paths are resolved after symlinks are followed and must fall inside the folders named with --allow-dir. Second, only Excel file extensions are accepted, and existing workbooks are not overwritten unless the caller asks for it. Third, every range operation is capped at 100,000 cells and reads are paged, so one call cannot pull or rewrite an entire large sheet in a single step. These are the controls a reviewer should look for in the launch configuration before approving any Excel deployment.
The formula checks are the other layer that matters for tool-level risk. According to the same release notes, formulas are now checked on every write path, not only some of them. The blocked set is wider and includes Excel 4 macro functions and Google Sheets IMPORT functions, and DDE links and references to other workbooks are rejected. Issue 149 showed why the coverage must be complete: the earlier denylist matched uppercase function names only, so lowercase or mixed-case forms could still be written. Confirm that your build includes the v1.0.0 change set and test the blocked forms yourself, including mixed-case variants.
All of these controls run inside the server process, so they are only as strong as the launch configuration and the version actually running. The README in the repository still describes the EXCEL_FILES_PATH variable for SSE and streamable HTTP, while the release notes describe --allow-dir, so the two sources do not agree. Ask the team which version and flags are deployed, confirm that --allow-dir is set to the narrowest folder that works, and check that the limits hold after a restart. A stdio launch without a confinement flag gives no path protection at all, as issue 149 reported against version 0.1.8.
How a prompt-driven write reaches the workbook
The diagram starts with the MCP client and the model, which send a tool call to the Excel MCP server over a transport. In stdio mode, the reported path skips path confinement entirely, so the read and write tools can reach any file the server process can reach (issue 149). With the v1.0.0 controls, the path must sit under a folder given with --allow-dir after symlinks are resolved, then formulas are checked, then each range is capped at 100,000 cells before the workbook is saved. Check which release and which startup flag your setup actually uses.
Write path through the server, with the reported unconfined stdio branch dashed.
What issue 149 and OSV PYSEC-2026-331 report
Two public reports describe the same core problem from different angles: the server did not confine file access tightly enough, and its formula checks could be bypassed. Each card names the control that would have limited the flaw and what a reviewer should confirm in their own deployment.
Stdio mode has no path confinement
Issue 149, reported on 5 June 2026 against version 0.1.8, says that in stdio mode no path confinement applies. The read and write tools can therefore reach any file the server process can access, including credentials, other workbooks and configuration files on the host. The control that limits this is path confinement to folders named with --allow-dir, which the v1.0.0 release notes describe. Confirm the version in use, and confirm that the server process runs under an account with no access to sensitive directories.
Read issue 149Formula denylist matched uppercase only
The formula safety denylist blocks INDIRECT, HYPERLINK, WEBSERVICE, DGET and RTD. Issue 149 says it matched uppercase names only, so lowercase or mixed-case forms were written into the workbook. A formula that calls out to a web service or pulls external data can then run when the file is opened or recalculated. The control that closes this is case-insensitive formula checking on every write path, which the v1.0.0 release notes describe. Test a mixed-case blocked function against the version you run before approving it.
Read release notesPrompt injection can steer the path
The reporter notes that prompt injection can steer the file path used by the read and write tools. A spreadsheet, email or web page the agent reads can contain instructions that point the tool at a different file, so the agent acts on attacker-chosen input without the user noticing. Path confinement limits where the tool can go, but it does not stop an injected instruction from choosing a permitted file. Check which documents and external content the agent can read in the same session as the Excel tools.
Path traversal in version 0.1.7 and earlier
OSV record PYSEC-2026-331, also listed as CVE-2026-40576, covers a path traversal flaw in the excel-mcp-server PyPI package in versions up to and including 0.1.7. The fixed version listed is 0.1.8. The control that would have limited it is a fixed version, and the reader should confirm that every installed copy, including those in developer environments and container images, is at 0.1.8 or later, not only the copy on a shared host.
Read the OSV recordConfirm the version and the transport
The README still describes the EXCEL_FILES_PATH variable for SSE and streamable HTTP, while the v1.0.0 release notes describe --allow-dir. The two pages differ, so the version actually running determines which confinement applies. Ask each team to record the release, the transport and the exact launch arguments, and to confirm that confinement is active for that combination rather than assuming it from the README.
Read the READMEHow the answer changes by deployment
In stdio mode, the client starts the server as a child process under the user's own account, so the server gets that user's file access. Issue 149 reported that stdio mode applied no path confinement against version 0.1.8, meaning the read and write tools could reach any file the process could reach. A reviewer should not assume the laptop boundary limits the server.
- Pin the version: Run v1.0.0 or later and confirm the installed build matches the release notes, since the README and release notes describe different path settings.
- Set the allowed folder: Pass the workbook folder with
--allow-dir, then test whether a file outside that folder is refused in stdio mode, because the issue reported that confinement did not apply there. - Limit the account: Run the server under a standard user account that cannot open finance, HR or source code folders, since that account's file access becomes the server's file access.
- Protect originals: Confirm that existing workbooks are not overwritten unless a write is requested, and keep backups of any sensitive file the agent can touch.
Check the second item on the actual laptop build, using a test file placed outside the allowed folder.
On a shared host, one server process answers several callers, so the question shifts from one user's files to what the host process can reach and who can reach the endpoint. The README marks SSE as deprecated and streamable HTTP as recommended for remote connections. The README still describes the EXCEL_FILES_PATH variable for network transports, which differs from the --allow-dir model in the v1.0.0 release notes.
- Choose the transport: Use streamable HTTP for new deployments and avoid SSE, which the README marks deprecated.
- Confirm the path setting: Check which variable or flag governs allowed folders in your build, and test it against a file outside the intended folder.
- Control network reach: Bind the listener to an internal interface and restrict callers at the network layer, so only approved clients can connect.
- Verify the package: Confirm the installed PyPI package is version 0.1.8 or later, since OSV record PYSEC-2026-331 lists a path traversal flaw in versions up to and including 0.1.7.
- Ask about caller identity: Confirm whether file access is scoped per caller or shared across all callers, and whether requests are logged per user. The sources reviewed do not settle this, so ask the maintainers or test it.
Record the answers to the last two items before approving a shared endpoint, because they decide who inherits the server's file access.
When workbooks hold regulated personal, financial or health data, the server's read and write reach becomes a data-handling question. The formula checks and range limits reduce some risks, but they do not decide which workbook an agent opens, and they do not stop a prompt injection from steering a call. Treat the server as one control inside a wider set of controls that the organization already audits.
- Isolate sensitive folders: Store regulated workbooks in a dedicated folder and point the allowed directory only at it, not at a home directory or a shared drive root.
- Retest formula controls: Confirm that formulas are checked on every write path in your build, including the blocked function set and the rejection of DDE links and references to other workbooks. Retest the lowercase and mixed-case forms described in issue 149.
- Note the range limits: Records show a 100,000-cell cap on range operations and paged reads in v1.0.0. Confirm these hold for your largest workbooks.
- Use copies for agent work: Where the task only needs reads or draft changes, let the agent work on copies and keep originals outside the allowed folder.
- Keep evidence: Store the build version, configuration, test results and retest records in the assessment file.
Confirm each control with a test on the exact production build, and record the result before approving any sensitive workbook.
Checks to complete before approving the server
This sequence confirms which build is running, which folders it can reach, and how its formula and range limits behave, so the approval decision rests on verified settings rather than the project's marketing text. Each step ends with a written result that the security reviewer can file with the approval record.
Confirm the exact version in use
The engineer who installs or updates the server records the exact package and release in use, not the name of the project. Confirm that the version is at least 1.0.0, since the v1.0.0 release notes describe the path confinement, formula checks and range limits discussed in this section. Also confirm that the build is 0.1.8 or later, the fixed release for the path traversal flaw recorded in OSV entry PYSEC-2026-331, which covers versions up to and including 0.1.7. The check is complete when the version string, its source and its date appear in the approval record. Any build below 1.0.0 should be treated as not approved for use with agents.
Match the launch flags to the documentation
Next, the engineer lists the transport and every launch argument the server is started with, then checks which documentation governs that build. The README on the main branch still describes the EXCEL_FILES_PATH variable for SSE and streamable HTTP, while the v1.0.0 release notes describe the --allow-dir option. Confirm which of these the running build reads by testing it against a scratch folder and observing which paths it accepts. Record the transport, the flags and the governing document. If stdio is used, note that issue 149 reports that no path confinement applies in that mode, so the folder control must be verified separately before approval.
Verify the folder scope with out-of-scope files
The reviewer places a test workbook inside the allowed folder and a second copy outside it, including a symlink inside the allowed folder that points outward. Ask the agent, through a test client, to read and then write each file. Under the v1.0.0 notes, paths should resolve to the allowed folders after symlinks are followed, and only Excel extensions should be accepted. The check is complete when out-of-scope reads and writes fail, and the results are logged in the approval record. If any out-of-scope access succeeds, stop the rollout and retest after a fix.
Test formula checks against a copy
Using a disposable copy of a workbook, the reviewer asks the agent to write formulas that use functions on the blocked list, including Excel 4 macro functions, Google Sheets IMPORT functions, DDE links and references to other workbooks. Issue 149 reported that the earlier denylist matched only uppercase names, so the reviewer should also test lowercase and mixed-case spellings of INDIRECT, HYPERLINK, WEBSERVICE, DGET and RTD. The step produces a table of each input and whether it was rejected. Any accepted form is a finding to report to the project before the server is approved.
Test range limits and paged reads
The reviewer runs a range operation against a copy that is larger than the documented limit, then checks that the operation is refused or split. The v1.0.0 release notes state that every range operation is limited to 100,000 cells and that reads are paged, so confirm both behaviors in the build under review. Record how the agent reports a refused request, since an agent that retries with smaller ranges can still export large volumes over many calls. The check closes when the limit and paging behavior are documented, and the reviewer decides whether that volume is acceptable for the workbook classifications in scope.
Confirm the agent account's file access
Finally, the identity team reviews the operating system account the server process runs under, because path limits apply only to what the server enforces, while the account's own permissions still apply. List the directories and network shares that account can read or write, and remove any that the server does not need. Confirm that the allowed folder is not a parent of home directories, shared drives or credential stores. The check is complete when the account's effective access is written down, matches the folder scope tested earlier, and is signed off by the owner of the affected data.
Gaps the server does not close on its own
The Excel MCP server performs file operations on the host, and the controls it ships with cover paths, formulas and range sizes. The cards below cover what those controls do not answer: identity, logging, the default transport, formula filtering, untrusted workbook content and the setup choices covered on the sibling page.
No per-user authorization or audit trail
The supplied research does not show that the server checks which user is asking for an operation or records who changed a workbook. Every tool call runs with the privileges of the operating system account that started the server. Ask the maintainer whether per-user authorization or audit logging exists in your version. Until then, rely on host controls: run the server under a dedicated account, keep the workbook share's own permissions tight, and collect host logs for that account.
Project READMEStdio default without path confinement
Issue 149 reports that in stdio mode no path confinement applies, so the read and write tools can reach any file the server process can access. The v1.0.0 release notes describe confinement to folders given with --allow-dir, which is the control to verify. Confirm the version in use, then start the server with explicit allowed folders and check that a request outside them fails. Do not run pre-1.0 builds on a workstation that holds other sensitive files.
Issue 149Formula checks are a denylist
The formula safety check blocks named functions such as INDIRECT, HYPERLINK, WEBSERVICE, DGET and RTD. Issue 149 reports that the earlier check matched uppercase names only, and the v1.0.0 notes describe a wider blocked set checked on every write path. A denylist still misses functions that are not on the list. Treat formula checks as one layer, test a set of obfuscated and mixed-case formulas after each upgrade, and keep the workbook opened by users free of macros and external links.
Prompt injection through workbook content
A workbook can contain text, cell values or comments written by someone outside your team, and an agent reading that content may follow instructions hidden in it. Issue 149's reporter notes that prompt injection can steer the path the tools use. Limit the agent to a folder that holds only trusted or copied workbooks, require a person to review write operations on shared files, and test a poisoned sample workbook before approving the server for a team.
Write tools need a review gate
The server can create, update and delete worksheets, change formulas and formatting, and overwrite data in a range of up to 100,000 cells according to the v1.0.0 notes. Existing workbooks are not overwritten unless the call asks for it, but that protection does not cover edits within a file. Keep the agent working on copies, put live finance, HR or regulated workbooks behind a read-only path, and confirm your client asks for approval before any write tool runs.
Transport and authentication choices
How the server is run for a team, including stdio versus SSE or streamable HTTP, the EXCEL_FILES_PATH and --allow-dir settings, and the network exposure fix, is covered on the sibling setup page. Use that page to decide how the server starts and who can reach it. This card covers only what remains after that choice: the tool-level controls above still apply on every transport.
What a security reviewer asks to see
This table lists the evidence a reviewer should collect from a running Excel MCP server before approving it, and what each item proves. Read it as a checklist: each row shows where the evidence comes from and which claim it supports or rules out. Items that come back different from the published release notes should block approval until the vendor or maintainer explains the gap.
| Evidence item | Where it comes from | What it proves |
|---|---|---|
| Running version and build | The installed package version and the release tag you deploy, checked against the haris-musa/excel-mcp-server releases page | Which release's controls apply, since the v1.0.0 changes do not apply to earlier versions |
| Launch command and flags | The exact command line or client configuration that starts the server, including transport and any --allow-dir flag | Whether path confinement is active, and whether the server runs over stdio or a network transport |
| Allowed folder list | The directories passed with --allow-dir, or the folder variable your version reads | The full set of folders the read and write tools can reach on the host |
| Symlink test result | A test in a scratch folder where a symlink points outside the allowed folder, run through a read tool and a write tool | Whether paths are resolved before the check, so links cannot escape the allowed folder |
| Formula test results, uppercase names | A test writing formulas that use names on the denylist (for example INDIRECT, HYPERLINK, WEBSERVICE) in capital letters | Whether the denylist blocks the uppercase forms on your build |
| Formula test results, lowercase and mixed case names | The same test using lowercase and mixed-case spellings of the denylist names | Whether the check is case-insensitive, since issue 149 reported that lowercase forms got through |
| Range cap test | A write or read that covers more than 100,000 cells, run against the server | Whether the 100,000-cell limit from the v1.0.0 release notes is enforced in your deployment |
| Issue 149 status | The issue page on the haris-musa/excel-mcp-server repository and the release notes that mention it | Whether the stdio path reported in June 2026 is confirmed fixed in the version you run, and which fix covers it |
| OSV fix status | The OSV record PYSEC-2026-331 and the version you have installed | Whether your version is above the fixed release listed for the path traversal flaw (0.1.8 for the PyPI package) |
Questions buyers ask before approving the Excel MCP server
Is the Excel MCP server supported by Microsoft?
No. The most searched Excel MCP server is haris-musa/excel-mcp-server, an independent community project under the MIT license, not a Microsoft product. Its README describes it as an MCP server for manipulating Excel files without Microsoft Excel installed. Do not treat it as vendor-supported software. Confirm who maintains the version you plan to run, who answers security reports, and whether your procurement policy accepts community open-source tools for workbooks that hold business data. A separate community project, sbroenne/mcp-server-excel, automates a real Microsoft Excel instance and is a different tool with a different risk profile, so confirm which one your teams have installed.
Can the Excel MCP server be restricted to one folder?
Yes, in version 1.0.0 and later, by passing the --allow-dir option. According to the v1.0.0 release notes, paths are confined to the folders you give with --allow-dir after symlinks are resolved, and only Excel file extensions are accepted. Confirm the running version before relying on this, because the project README still describes the EXCEL_FILES_PATH variable for SSE and streamable HTTP transports. Those two pages differ, so check the code and configuration of your deployment. In stdio mode, the reported issue 149 says no path confinement applies at all, so a folder allowlist cannot be assumed for every transport until you verify it in your environment.
Are the reported Excel MCP server flaws fixed?
The path traversal flaw tracked as PYSEC-2026-331 (alias CVE-2026-40576) affects the excel-mcp-server PyPI package up to and including 0.1.7, and the OSV record lists 0.1.8 as the fixed version. Issue 149, reported on 5 June 2026 against 0.1.8, describes two separate problems: no path confinement in stdio mode, and a formula denylist that matched only uppercase function names, so lowercase or mixed-case forms such as HYPERLINK or INDIRECT could be written into workbooks. The v1.0.0 release notes describe formula checks on every write path and path confinement. Before approval, confirm the current status of issue 149 on the project's issues page, and confirm the version you run is at or above the fix your review requires.
What drives the cost and effort of reviewing the Excel MCP server?
The main drivers are the number of tools exposed to agents, the number of folders and workbooks in scope, and the number of environments where the server runs. The project's full tool list sits in a separate TOOLS.md file, so the review starts by listing which tools each client can call. Each additional folder, workbook class and host adds configuration to verify and retest after upgrades. No supplied fact gives a price or duration for this work, so ask any reviewer or vendor for a written scope that names the tools, folders, transports and hosts covered, and whether the quote includes retesting after a version change. Internal effort is mostly one-time setup, plus recurring checks each time the server is upgraded.
Can our team review and lock down the Excel MCP server alone?
A single host with one client and a short, documented allowlist is a reasonable scope for an internal team. Start by confirming the running version, choosing stdio for local use, setting --allow-dir to a dedicated folder that holds no sensitive workbooks, and confirming that existing workbooks are not overwritten unless a user asks for it. Then test the formula checks with a sample workbook containing mixed-case function names and an external link. If agents will touch sensitive workbooks, will run over a network transport, or will act on content that others can edit, bring in an outside security testing engagement. DeployOpen performs AI agent rollout security reviews that test tool and file permissions, data exposure and credential handling, and delivers a findings report with fixes and a retest, scoped in writing before work starts.
How should we handle prompt injection risk when agents use this server?
Treat any workbook or text the agent reads as untrusted input, because issue 149 notes that the file path can be steered by prompt injection. The safest first step is to confine the server to one folder with --allow-dir and to keep sensitive files outside that folder. Next, limit the tool set your client can call, so write and delete operations are only available where a business need exists. Review the formula checks by testing them yourself, since the reported denylist bypass shows that naming rules can miss variants. Log which workbooks each agent session opens and changes, and require a human to review workbook changes before they are shared or used for decisions. Confirm these controls against your own environment, as the project documents its behavior in the README and release notes rather than in an independent audit.
What should we ask the vendor or maintainer before approval?
Ask the maintainer to confirm the exact version range that includes the path traversal fix and the status of issue 149, including whether the stdio path confinement and the formula denylist change have been released. Ask whether the project publishes a security contact and how fixes are announced. Ask whether the TOOLS.md list matches the running version, and whether the README's environment variable guidance has been updated to match --allow-dir. For your own records, ask for the release notes that cover each version you plan to deploy. Check the project's releases page before each upgrade, and record which version was reviewed, so the approval can be tied to a specific build.
Primary sources to check each claim against
Start with the README of haris-musa/excel-mcp-server, because it is the project's own statement of what the server does, which transports it offers and where the full tool list lives in the separate TOOLS.md file. Read it for the transports and feature list, then check it against the version you actually run. The README still describes the EXCEL_FILES_PATH variable for SSE and streamable HTTP, while the v1.0.0 release notes describe --allow-dir, so confirm which path control your build honors before you rely on either one. Treat the README as the description of the project, not as proof of its controls.
Next, read Issue 149 on the haris-musa/excel-mcp-server repository, since it is the most specific public account of how the read and write tools behave in stdio mode and how the formula denylist was bypassed with lowercase or mixed-case function names. Check whether the report reproduces on your version, and note that it was filed against 0.1.8. Then open the haris-musa/excel-mcp-server releases page, where the v1.0.0 notes state the fixes: path confinement with --allow-dir after symlink resolution, the 100,000-cell range limit, paged reads, the wider formula blocklist and the rule that existing workbooks are not overwritten unless requested. Confirm each fix in the release you deploy, not only in the notes.
For the packaged code, read the OSV record PYSEC-2026-331, which covers a path traversal flaw in the excel-mcp-server PyPI package through 0.1.7 with 0.1.8 listed as fixed, and note that its alias is CVE-2026-40576. Finally, keep the sbroenne/mcp-server-excel repository separate in your review. It is a different community project that automates a live Microsoft Excel instance, covering Power Query, DAX, VBA and PivotTables, so its permissions, advisories and host requirements do not transfer to the haris-musa server. Assess it on its own record if a team proposes it as an alternative.
How DeployOpen works on this
DeployOpen reviews an Excel MCP rollout by first mapping which files the server process can reach, which tools can write, and which client sends the requests. The review then tests those paths directly, including prompt injection attempts against formula and file controls, and hands the team fixes and a retest.
How we scope
- Inventory the server version, transport and whether the deployment runs in stdio or network mode
- Map the folders, drives and workbooks the server process can reach on each host
- Agree in writing which read, write, formula and range scenarios the review will test
How we build
- Test path confinement, symlink handling and whether files outside allowed folders can be read or written
- Try formula denylist bypasses, including mixed-case and lowercase forms of blocked functions
- Check how prompt injection could steer file paths, formulas and range edits through the connected agent
How we hand over
- Deliver a findings report with reproduction steps for each path, formula and transport issue found
- Document the allowed directories, transport settings and client permissions the team should enforce
- Retest the fixed configuration and confirm which findings remain open before rollout
How we support
- Available as a retainer to re-check the server after version upgrades and new release notes
- Continuous testing can follow changes to the agent, the MCP client or the workbook locations
- Support scope and frequency are set in the written agreement before work starts

