Skip to main content
EPSS 0.4%top 63%

CVE-2026-79745: CWE-862: Missing Authorization in samanhappy mcphub

0
High
VulnerabilityCVE-2026-79745cvecve-2026-79745cwe-862
Published: 08/31/2026 (08/31/2026, 17:56:17 UTC)
Source: CVE Database V5
Vendor/Project: samanhappy
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Affected software

samanhappy

mcphub

Affected versions
<1.0.32

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:54:53 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses