Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain upload endpoint access (valid credentials or skipAuth bypass)
-
DeliveryCraft MCPB ZIP with path traversal sequence in manifest name field
-
ExploitUpload malicious archive to MCPHub MCPB endpoint
-
ExecutionServer builds traversal path from unsanitized name via path.join
-
PersistFiles extracted or renamed to arbitrary host filesystem location
-
ImpactOptionally 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 |
| 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 |
| Exploit ScenarioDerived | An attacker with access to the MCPB upload endpoint crafts a ZIP archive containing a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Authenticated upload endpoint in default deployments (PR:L); arbitrary file write (I:H) and directory deletion (A:H) escape application boundary (S:C).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-68691
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB