CVE-2026-79743
MEDIUM 6.9CVSS 4.0MCPHub has Path Traversal via Malicious MCPB Manifest Name
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
- 31 Aug 2026
- Last modified
- 8 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-22
- Also known as
- GHSA-p3h2-2j4p-p83g
- Sources
- NVDJSONOSV GHSA-p3h2-2j4p-p83gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @samanhappy/mcphub | < 0.12.13 | 0.12.13 |
References
- https://github.com/samanhappy/mcphub/pull/770
- https://github.com/samanhappy/mcphub/releases/tag/v0.12.13
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-p3h2-2j4p-p83g · WEB
- https://github.com/samanhappy/mcphub/commit/af5b013c09bb0add6b7ad9aaa5b875cf150d2a7c · WEB
- https://github.com/samanhappy/mcphub · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 31 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Apr 2026)