Submit #944363: mcphub <= 1.0.31 Missing Authorizationinfo

Titlemcphub <= 1.0.31 Missing Authorization
DescriptionThe 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.
Source⚠️ https://github.com/samanhappy/mcphub/security/advisories/GHSA-6cvf-cfch-4g7m
User
 wshi.24 (UID 98607)
Submission08/24/2026 03:30 (27 days ago)
Moderation09/19/2026 11:31 (26 days later)
StatusDuplicate
VulDB entry397401 [samanhappy MCPHub up to 1.0.31 Prompt/Resource Controllers /api/prompts handleGetPromptRequest/handleReadResourceRequest privileges management]
Points0

Interested in the pricing of exploits?

See the underground prices here!