Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
MCP interface is network-reachable (AV:N) but the malicious filename must be routed via a tool call requiring interaction and specific conditions (UI:R, AC:H); arbitrary .docx read and overwrite give C:H/I:H, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Office-Word-MCP-Server through 1.1.11 contains a path traversal vulnerability in its document tools that allows attackers who can influence the filename argument to read arbitrary .docx files or create and overwrite .docx files outside the intended working directory. Attackers can supply absolute paths or ../ traversal sequences directly to document open and save operations, bypassing the check_file_writeable and ensure_docx_extension helpers which perform no base-directory confinement or realpath validation.
AnalysisAI
Arbitrary .docx read and write in Office-Word-MCP-Server (gongrzhe) through version 1.1.11 lets an attacker who can influence the filename argument passed to the document tools escape the intended working directory using absolute paths or ../ sequences. Because the exposed open/save operations run in an MCP tool context, a malicious or prompt-injected instruction can read sensitive .docx files or create and overwrite documents anywhere the server process has filesystem access. Publicly available exploit code exists (VulnCheck), but there is no public exploit identified as actively used and it is not on CISA KEV.
Technical ContextAI
The affected component is Office-Word-MCP-Server, a Model Context Protocol (MCP) server that exposes Word/.docx manipulation tools to LLM clients. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal): the check_file_writeable and ensure_docx_extension helper functions validate writeability and file extension but perform no base-directory confinement and no realpath canonicalization. As a result, a supplied filename such as /etc/target.docx or ../../secrets/plan.docx is passed straight to the underlying python-docx open and save routines. The single CPE affected is cpe:2.3:a:gongrzhe:office-word-mcp-server:*:*:*:*:*:*:*:*, matching all versions up to and including 1.1.11.
RemediationAI
Upgrade to a fixed release above 1.1.11 once published by the maintainer; at the time of this analysis no exact fixed version number is confirmed in the provided data, so treat all versions through 1.1.11 as vulnerable and monitor the project repository and the VulnCheck advisory (https://www.vulncheck.com/advisories/office-word-mcp-server-path-traversal-via-document-tools) for a patched tag. As compensating controls until a patched version is verified: run the MCP server under a dedicated low-privilege user with filesystem access restricted (via OS permissions, chroot, or a container bind-mount) to only the intended documents directory, which confines any traversal to that sandbox at the cost of blocking legitimate cross-directory access; add a wrapper that canonicalizes the filename with realpath and rejects any path resolving outside the configured base directory before calling open/save, accepting the trade-off of extra validation latency; and restrict which clients/prompts can invoke the document tools to limit prompt-injection reach. Do not rely on ensure_docx_extension or check_file_writeable as security boundaries - they do not confine the base directory.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48308
GHSA-jp99-gp4p-v5cc