CVE-2026-79745: CWE-862: Missing Authorization in samanhappy mcphub
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 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.
CVSS v3.1
Score 7.1high
Affected software
samanhappy
mcphub
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MCPHub is a platform for managing multiple MCP servers/APIs with flexible routing. Before version 1.0.32, its prompt and resource controllers attached to authenticated routes lack admin role checks. The POST/PUT endpoints for /api/prompts* and /api/resources* do not verify req.user roles, enabling non-admin users to modify global prompt templates and resources. These changes affect all users since the DAO singletons are consulted first for every session. This vulnerability results in unauthorized integrity violations and stored prompt injection risks. The vulnerability is identified as CWE-862 (Missing Authorization) and has a CVSS 3.1 score of 7.1 (high severity). It was patched in version 1.0.32.
Potential Impact
Non-admin authenticated users can create, overwrite, and shadow global prompt templates and resources, causing unauthorized integrity violations. This can lead to stored prompt injection attacks impacting other users' language model sessions. The availability impact is low, but integrity impact is high. Confidentiality is not impacted.
Mitigation Recommendations
This vulnerability has been patched in samanhappy mcphub version 1.0.32. Users should upgrade to version 1.0.32 or later to ensure proper authorization checks are enforced on prompt and resource controllers. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-25T14:08:18.108Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a95c2eeacd9273b496c0dd7
Added to database: 08/31/2026, 18:07:42 UTC
Last enriched: 09/07/2026, 13:54:53 UTC
Last updated: 10/14/2026, 18:48:24 UTC
Views: 87
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.