Missing authorization in samanhappy mcphub
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
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 1.0.32, the built-in prompt and resource controllers perform no role checking. The mutating POST/PUT /api/prompts* and POST/PUT /api/resources* routes are attached to the authenticated router with no admin gate, and the handlers never read req.user. The DAO singletons they write are consulted first — ahead of any connected MCP server — for every session in handleGetPromptRequest / handleReadResourceRequest. A non-admin can therefore create, overwrite, and shadow global prompt templates and resources that all other users are served. The scored impact is the unauthorized integrity violation (creation/tampering/shadowing of globally-served records); stored prompt injection into other users' LLM sessions is a downstream consequence of that tampering. This issue has been patched in version 1.0.32.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| samanhappy | mcphub | before 1.0.32 | 1.0.32 | Patch available | CNA |
- mcphub Vendorsamanhappy Affected before 1.0.32 Fixed in 1.0.32 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mcphubx:mcphub:*:*:*:*:*:*:*:* | — | — | samanhappy |
- cpe:2.3:a:mcphubx:mcphub:*:*:*:*:*:*:*:* Versions — — ·samanhappy
Remediation
- Fix · CNA mcphub (samanhappy) Fixed in 1.0.32
Timeline
- 2026-10-02 Threatist record created from CVE-2026-79745
References
More samanhappy vulnerabilities
- TI-2026-55229 MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args) CVSS 3.1CRITICAL 9.9
- TI-2026-55225 MCPHub: Missing Authorization on `PUT /api/system-config` Lets Any Non-Admin Rewrite Global Security Configuration CVSS 3.1HIGH 8.8
- TI-2026-55224 MCPHub: Path Traversal via Malicious MCPB Manifest Name CVSS 4.0MEDIUM 6.9
- TI-2025-10335 samanhappy MCPHub sseService.ts handleSseConnectionfunction improper authentication CVSS 4.0MEDIUM 6.9
- TI-2026-61501 MCPHub before 1.0.32 OAuth 2.0 Authentication Bypass CVSS 4.0HIGH 7.6
- TI-2026-55230 MCPHub: SSRF Guard Bypass via IPv6 Transition Addresses in URL Validation CVSS 4.0HIGH 7.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences