Description
A security flaw has been discovered in puchunjie doc-tools-mcp 1.0.18. This affects the function create_document/open_document of the file src/mcp-server.ts of the component MCP Interface. The manipulation of the argument filePath results in path traversal. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| puchunjie | doc-tools-mcp | 1.0.18 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @puchunjie/doc-tools-mcp | <= 1.0.18 | — | GHSA-gcmm-c94j-j47x |
References
- VDB-360913 | puchunjie doc-tools-mcp MCP mcp-server.ts open_document path traversal vdb-entry technical-description
- VDB-360913 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #807642 | puchunjie @puchunjie/doc-tools-mcp 1.0.18, Commit c96df45a16710a3eec41a7a94c32b81468db28ea Path Traversal third-party-advisory
- https://github.com/puchunjie/doc-tools-mcp/issues/4 issue-tracking
- https://github.com/BruceJqs/public_exp/issues/38 exploit issue-tracking
- https://github.com/puchunjie/doc-tools-mcp/ product