CVE-2026-7738 puchunjie doc-tools-mcp MCP mcp-server.ts open_document path traversal

Medium 5.3 Published Updated

Attackers can exploit path traversal in the MCP server to read or modify arbitrary files via manipulated file paths.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7738?

CVE-2026-7738 is a medium-severity path traversal vulnerability in puchunjie doc-tools-mcp, published on 4 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-7738?

2 open source packages ship an affected version, including @puchunjie/doc-tools-mcp.

PackageAffectedFixed in
@puchunjie/doc-tools-mcp npmAll versions to 1.0.18None
@puchunjie/doc-tools-mcp npmAll versions to 1.0.18None

How do I fix CVE-2026-7738?

No fix has been published for CVE-2026-7738 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-7738 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7738 exists.

Sources

Also known as GHSA-gcmm-c94j-j47x.

Is CVE-2026-7738 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free