| タイトル | puchunjie @puchunjie/doc-tools-mcp 1.0.18, Commit c96df45a16710a3eec41a7a94c32b81468db28ea Path Traversal |
|---|
| 説明 | 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. |
|---|
| ソース | ⚠️ https://github.com/puchunjie/doc-tools-mcp/issues/4 |
|---|
| ユーザー | BruceJqs (UID 97404) |
|---|
| 送信 | 2026年04月18日 13:42 (2 月 ago) |
|---|
| モデレーション | 2026年05月03日 18:19 (15 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 360913 [puchunjie doc-tools-mcp 1.0.18 MCP Interface src/mcp-server.ts create_document/open_document filePath ディレクトリトラバーサル] |
|---|
| ポイント | 20 |
|---|