Soumettre #807642: puchunjie @puchunjie/doc-tools-mcp 1.0.18, Commit c96df45a16710a3eec41a7a94c32b81468db28ea Path Traversalinformation

Titrepuchunjie @puchunjie/doc-tools-mcp 1.0.18, Commit c96df45a16710a3eec41a7a94c32b81468db28ea Path Traversal
DescriptionAn 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.
La source⚠️ https://github.com/puchunjie/doc-tools-mcp/issues/4
Utilisateur
 BruceJqs (UID 97404)
Soumission18/04/2026 13:42 (il y a 2 mois)
Modérer03/05/2026 18:19 (15 days later)
StatutAccepté
Entrée VulDB360913 [puchunjie doc-tools-mcp 1.0.18 MCP Interface src/mcp-server.ts create_document/open_document filePath directory traversal]
Points20

Do you know our Splunk app?

Download it now for free!