Skip to content

AAK-MCP-OFFICEPPT-CVE-2025-71427-001: Office-PowerPoint-MCP-Server tools read and write any path they are given (no fixed release)

Severity
MEDIUM
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
OfficePowerPointMcpPathTraversal

What it detects

office-powerpoint-mcp-server (PyPI; GongRzhe/Office-PowerPoint-MCP-Server) hands the paths its MCP tools receive to the filesystem without confining them to a working directory: save_presentation and open_presentation take any file_path, and manage_image any output_path. An absolute path or a ../ sequence therefore overwrites any file the server's user can write, or loads one from outside the working directory, and an indirect prompt injection that steers the agent's tool calls is enough (CVE-2025-71427, CVSS 3.1 6.8, CWE-22, through 2.0.7). There is no fixed release: 2.0.7 is the newest on PyPI and the upstream fix (PR #33) is unmerged, so every published version is treated as exposed (presence-only pin).

How to fix

There is no fixed release to upgrade to. Run the server as a user that can reach only a scratch directory (or in a container with only that directory mounted), keep untrusted content away from an agent that holds these tools, or build from a fork that carries upstream PR #33. Pin the first fixed release once it ships.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-OFFICEPPT-CVE-2025-71427-001

Limitations

Reports a reference that names the PyPI package: a requirements, pyproject or lockfile entry, or office-powerpoint-mcp-server in an MCP config (the uvx --from office-powerpoint-mcp-server ppt_mcp_server form). A server run from a clone of the repository (python ppt_mcp_server.py) names no package and is not reported. Presence-only: every version is reported, a future fixed one included, until the pin gets a floor. No class rule fires on the 2.0.7 tools, so this pin is the only coverage. A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-OFFICEPPT-CVE-2025-71427-001.md: the page then shows that text, with the registry reference appended under it.