Description
Office-PowerPoint-MCP-Server through 2.0.7 contains a path traversal vulnerability that allows MCP callers to write and read files outside the working directory by supplying absolute paths or ../ sequences. Attackers can steer an AI agent via prompt injection to abuse save_presentation, open_presentation, or manage_image output_path to overwrite any server-writable file or load external files.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GongRzhe | Office-PowerPoint-MCP-Server | ≤ 2.0.7 | — |
References
- Pull Request #33 issue-tracking patch
- https://github.com/GongRzhe/Office-PowerPoint-MCP-Server/blob/3631ba2ec0c24504476f78bf74d329c9be11caaa/utils/presentation_utils.py#L61-L73 technical-description
- https://github.com/GongRzhe/Office-PowerPoint-MCP-Server/blob/3631ba2ec0c24504476f78bf74d329c9be11caaa/tools/presentation_tools.py#L127-L141 technical-description
- https://github.com/GongRzhe/Office-PowerPoint-MCP-Server product
- VulnCheck Advisory: Office-PowerPoint-MCP-Server through 2.0.7 Path Traversal via save_presentation and manage_image third-party-advisory