Skip to main content

MCPHub EUVDEUVD-2026-68691

| CVE-2026-79743 MEDIUM
Path Traversal (CWE-22)
2026-08-31 security-advisories@github.com
6.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain upload endpoint access (valid credentials or skipAuth bypass)
  2. Delivery
    Craft MCPB ZIP with path traversal sequence in manifest name field
  3. Exploit
    Upload malicious archive to MCPHub MCPB endpoint
  4. Execution
    Server builds traversal path from unsanitized name via path.join
  5. Persist
    Files extracted or renamed to arbitrary host filesystem location
  6. Impact
    Optionally trigger cleanup function to delete arbitrary directories

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The MCPB file upload endpoint must be network-reachable. The official CVSS 4.0 PR:N assessment implies no authentication is required, but this conflicts with MCPHub's general auth framework - unauthenticated exploitation is only viable when the skipAuth: true system configuration is active (itself also removed in v0.12.13) or if the specific upload route lacked auth gating in the vulnerable codebase. In default deployments with authentication enforced, a valid MCPHub account (at minimum PR:L) appears necessary to reach the upload handler. Once endpoint access is established, no special application configuration, elevated role, or specific platform dependency is required - any deployment of MCPHub prior to 0.12.13 with the file upload feature present is vulnerable. The impact radius is bounded by the OS-level permissions of the MCPHub process user.

Impact

The official CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) characterizes this as network-accessible with no privileges or interaction required, but the impact metrics (VI:L/VA:N) appear significantly understated relative to the described primitives: arbitrary filesystem write and directory deletion more accurately map to VI:H and VA:H respectively, and this discrepancy should be confirmed against the vendor's intended scope. The PR:N assessment conflicts with MCPHub's documented authentication framework; a co-bundled fix in the same PR removes a skipAuth: true system configuration bypass, suggesting PR:N may reflect a non-default deployment posture. In standard authenticated deployments, valid credentials (PR:L) appear required to reach the upload handler. No EPSS data, KEV listing, or public POC was identified at time of analysis. Despite absent active-exploitation indicators, the self-contained exploitability - craft a ZIP with a malicious manifest name - and source-code-level disclosure in the GHSA advisory reduce the effective barrier to weaponization substantially, warranting urgent patching irrespective of the low official impact score.

Exploit ScenarioDerived

An attacker with access to the MCPB upload endpoint crafts a ZIP archive containing a manifest.json where name is set to ../../../var/www/html/shell, then submits it to MCPHub via an HTTP upload request. The server concatenates the traversal sequence into the extraction path and calls fs.mkdirSync and fs.renameSync to move files into /var/www/html/shell/, outside the intended upload directory. If the MCPHub process has write access to web-serving directories or configuration paths, this enables web shell deployment or credential file overwrite; a follow-up upload can invoke cleanupOldMcpbServer with a traversal name to delete targeted directories.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

Path traversal in MCPHub's MCPB file upload handler, prior to version 0.12.13, enables a remote attacker to extract files to arbitrary filesystem locations and delete arbitrary directories on the host by embedding traversal sequences in a crafted archive manifest. The vulnerability exists at src/controllers/mcpbController.ts:107, where manifest.name is unsanitized before concatenation into fs.mkdirSync and fs.renameSync calls; the same unsanitized value flows into cleanupOldMcpbServer at line 110, enabling directory deletion. No public exploit code or CISA KEV listing has been identified at time of analysis, though the full source-level disclosure in the GHSA advisory makes weaponization straightforward.

RemediationAI

Upgrade MCPHub to version 0.12.13 or later, which resolves the path traversal at commit af5b013c09bb0add6b7ad9aaa5b875cf150d2a7c (https://github.com/samanhappy/mcphub/pull/770); this release also removes the skipAuth authentication bypass and hardens OAuth client access controls. If immediate upgrade is not feasible, restrict network access to the MCPB file upload endpoint at the reverse proxy or firewall layer to trusted administrative source IPs only - this reduces the attacker pool without addressing the root cause and must be reversed once patched. As a secondary defense, ensure the MCPHub process runs under a minimally privileged OS user account with filesystem access scoped to its intended working directory, which limits how far a traversal sequence can reach even if exploited.

Affected VersionsENISA

MCPHub < 0.12.13

Affected Packages

npm @samanhappy/mcphub fix: 0.12.13
euvd mcphub fix: 0.12.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MCPHub is an MCP (Model Context Protocol) server orchestration platform that manages and routes requests across multiple AI tool servers. The MCPB (MCP Bundle) format is a ZIP archive containing a manifest.json configuration file; the upload handler extracts the archive, parses the manifest, and constructs an on-disk path using path.join(path.dirname(mcpbFilePath), 'server-' + manifest.name). This is a canonical CWE-22 (Path Traversal) pattern: user-controlled data flows without normalization, allowlist validation, or path.resolve-based canonicalization directly into fs.mkdirSync and fs.renameSync, meaning a manifest name of ../../../etc/malicious resolves to a location far outside the intended upload directory. The cleanupOldMcpbServer function uses the same unsanitized name for deletion operations. The affected package is npm @samanhappy/mcphub, all versions prior to 0.12.13. No vendor-supplied CPE string was included in the source data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 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
vuln.today AI 9.6 CRITICAL

Authenticated upload endpoint in default deployments (PR:L); arbitrary file write (I:H) and directory deletion (A:H) escape application boundary (S:C).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 31, 2026 - 19:17 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche MCP orchestration tool for AI infrastructure deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy