# CVE-2026-79743: MCPHub: Path Traversal via Malicious MCPB Manifest Name

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T20:50:19.000Z
- Modified: 2026-09-08T21:08:37.320Z
- Also known as: GHSA-p3h2-2j4p-p83g
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- samanhappy mcphub: < 0.12.13
- @samanhappy/mcphub (npm): before 0.12.13

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/samanhappy/mcphub/security/advisories/GHSA-p3h2-2j4p-p83g> (exploit, web)
- <https://github.com/samanhappy/mcphub/pull/770>
- <https://github.com/samanhappy/mcphub/releases/tag/v0.12.13>
- <https://github.com/samanhappy/mcphub/commit/af5b013c09bb0add6b7ad9aaa5b875cf150d2a7c> (web)
- <https://github.com/samanhappy/mcphub> (package)

## Sources

- CVE List: [CVE-2026-79743](https://www.cve.org/CVERecord?id=CVE-2026-79743), CVE Terms of Use, modified 2026-08-31
- GitHub Advisory Database: [GHSA-p3h2-2j4p-p83g](https://github.com/advisories/GHSA-p3h2-2j4p-p83g), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2026-79743](https://nvd.nist.gov/vuln/detail/CVE-2026-79743), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-79743 · Whole record: https://cve.day/CVE-2026-79743.json · Rebuilt by cve.day 2026-11-25T22:59:35.856Z
