CVE-2026-79745

MCPHub: Missing Authorization on Built-in Prompt & Resource CRUD (Unauthorized Tampering of Globally-Served Templates/Resources)

Published Aug 31, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

MCPHub implements a missing authorization check on its built-in prompt and resource endpoints. The POST/PUT /api/prompts* and /api/resources* routes are attached to an authenticated router with no admin gate and the handlers never read the user identity. This flaw allows any authenticated user to create, overwrite, and shadow global prompt templates and resources that are subsequently served to all users. The resulting integrity violation can lead to stored prompt injection in downstream language-model sessions.

Affected Systems

The vulnerability exists in the MCPHub product from the vendor samanhappy. All versions prior to 1.0.32 are affected.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium‑severity integrity issue. The flaw can be exploited remotely by any authenticated user via normal API calls to /api/prompts* or /api/resources*. The EPSS score is not yet available, and the vulnerability is not listed in the CISA KEV catalog. Nonetheless, any user with access can tamper with global templates, potentially allowing malicious prompt injection, making it a moderate to high risk for environments that rely on MCPHub for LLM orchestration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to MCPHub v1.0.32 or later to apply the missing authorization fix.
  • If an upgrade is not immediately possible, restrict the /api/prompts* and /api/resources* endpoints to administrative users only by reconfiguring the API gateway or firewall rules.
  • Remove or rebuild any tampered global prompt templates or resources that may have been created by non‑admin users to eliminate potential malicious content.

Generated by OpenCVE AI on August 31, 2026 at 20:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Samanhappy
Samanhappy mcphub
Vendors & Products Samanhappy
Samanhappy mcphub
Type Values Removed Values Added
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.
Title MCPHub: Missing Authorization on Built-in Prompt & Resource CRUD (Unauthorized Tampering of Globally-Served Templates/Resources)
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 2, 2026, 2:06 PM
Reserved
Aug 25, 2026, 2:08 PM
Status
Awaiting Analysis
Published
Aug 31, 2026, 6:17 PM
Modified
Sep 8, 2026, 9:08 PM