| Título | puchunjie @puchunjie/doc-tools-mcp 1.0.18, Commit c96df45a16710a3eec41a7a94c32b81468db28ea Path Traversal |
|---|
| Descripción | An arbitrary file read and write vulnerability (CWE-73) has been identified in @puchunjie/doc-tools-mcp version 1.0.18, specifically within the create_document and open_document MCP tools. The tools accept a user‑supplied filePath argument and pass it directly to fs.writeFile or fs.readFile without constraining the path to a safe document directory, rejecting absolute paths, or validating traversal sequences. An attacker with network access to the MCP interface can write or read arbitrary Word documents (.docx files) at any filesystem location accessible to the server process, leading to data exposure, integrity loss, and potential service disruption. No fixed version is available at the time of reporting. |
|---|
| Fuente | ⚠️ https://github.com/puchunjie/doc-tools-mcp/issues/4 |
|---|
| Usuario | BruceJqs (UID 97404) |
|---|
| Sumisión | 2026-04-18 13:42 (hace 2 meses) |
|---|
| Moderación | 2026-05-03 18:19 (15 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 360913 [puchunjie doc-tools-mcp 1.0.18 MCP Interface src/mcp-server.ts create_document/open_document filePath recorrido de directorios] |
|---|
| Puntos | 20 |
|---|