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.
Published: 2026-08-31
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

MCPHub processes ZIP archives in its MCPB file upload handler. Inside each archive, a manifest.json file defines a name field that is directly concatenated into a file path during extraction and deletion. No sanitization or validation of the manifest.name value is performed, allowing a crafted name such as ../../../etc/malicious to cause the server to write files outside its intended directory or to delete arbitrary directories. This enables attackers who can upload a malicious MCPB package to read, overwrite, or delete files on the host filesystem, affecting confidentiality, integrity, and availability.

Affected Systems

All installations of MCPHub by samanhappy older than 0.12.13. The flaw exists only before the 0.12.13 release, which applies the necessary path sanitization.

Risk and Exploitability

The CVSS score of 6.9 classifies the flaw as a moderate severity vulnerability. It is not listed in the CISA KEV catalog and no EPSS score is available, implying a low probability of exploitation in the wild. However, the flaw's exploitation requires the ability to upload a malicious MCPB package, which can be possible on exposed MCPB upload endpoints. Once processed, the attacker can write or delete files in privileged system locations, potentially compromising the affected host. Given the potential impact, administrators should treat this as a high‑priority issue to remediate.

Generated by OpenCVE AI on August 31, 2026 at 20:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MCPHub to version 0.12.13 or later.
  • If an upgrade cannot be performed immediately, restrict the MCPB upload endpoint to trusted IP addresses or an internal network only.
  • Implement validation to reject or sanitize manifest.name entries containing path‑traversal characters before extraction, ensuring that extracted paths remain confined to the intended directory.

Generated by OpenCVE AI on August 31, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title MCPHub: Path Traversal via Malicious MCPB Manifest Name
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-31T18:39:39.736Z

Reserved: 2026-08-25T14:08:18.108Z

Link: CVE-2026-79743

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-31T18:17:19.610

Modified: 2026-08-31T19:17:13.447

Link: CVE-2026-79743

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T20:15:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')