CyberRota Analysis
AI-GeneratedThe MCPHub File Upload Handler is vulnerable to path traversal attacks due to unsanitized input from the manifest.json file, allowing attackers to extract files to arbitrary locations on the filesystem or delete directories. This could lead to unauthorized access or data loss, making it critical for organizations using versions prior to 0.12.13 to prioritize patching to mitigate potential exploitation. System administrators and security teams managing MCPHub deployments should address this vulnerability promptly to safeguard their environments.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.