提交 #807642: puchunjie @puchunjie/doc-tools-mcp 1.0.18, Commit c96df45a16710a3eec41a7a94c32b81468db28ea Path Traversal信息

标题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 月前)
管理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

Interested in the pricing of exploits?

See the underground prices here!