MCPHub
MCPHub: Missing Authorization on Built-in Prompt & Resource CRUD (Unauthorized Tampering of Globally-Served Templates/Resources)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.0.32
Fixed in 1.0.32
Mitigation
Upgrade mcphub to 1.0.32 or later.
References
- Vendor advisory github.com/samanhappy/mcphub/security/advisori…
- Patch github.com/samanhappy/mcphub/pull/1069
- Patch github.com/samanhappy/mcphub/commit/6ba55ac639…
1 more
- Release notes github.com/samanhappy/mcphub/releases/tag/v1.0…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.