CVE-2026-79743

Medium

Description

MCPHub is a unified hub for centrally managing and dynamically orchestrating multiple MCP servers/APIs into separate endpoints with flexible routing strategies. Prior to version 0.12.13, MCPB File Upload Handler extracts a ZIP file and reads manifest.json from it. The name field in the manifest is directly concatenated into a file path (line 107) without any sanitization or path traversal character validation. An attacker can craft a malicious MCPB file where manifest.name is set to something like ../../../etc/malicious, causing the file to be extracted to an arbitrary location on the file system. The cleanupOldMcpbServer function (line 110) also uses the unsanitized name, potentially allowing deletion of arbitrary directories. This issue has been patched in version 0.12.13.

SeverityMedium
CVSS6.9
Exploit probability—
Product@samanhappy/mcphub
PublishedAug 31, 2026
First seenAug 31, 2026

How to fix

Update
  • @samanhappy/mcphub0.12.13 or later

Affected products

ProductAffected versionsFixed in
@samanhappy/mcphubnpmv < 0.12.130.12.13

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.