Vulnerability · Published Aug 31, 2026 · Assigned by GitHub_M
CVE-2026-79745MCPHub: Missing Authorization on Built-in Prompt & Resource CRUD (Unauthorized Tampering of Globally-Served Templates/Resources)
High 7.1
In plain English
A high-severity missing authorization in mcphub from samanhappy. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| samanhappy | mcphub | < 1.0.32 |
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
References
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-6cvf-cfch-4g7m x_refsource_CONFIRM
- https://github.com/samanhappy/mcphub/pull/1069 x_refsource_MISC
- https://github.com/samanhappy/mcphub/commit/6ba55ac63954a71506e61c088753251e2ff643cf x_refsource_MISC
- https://github.com/samanhappy/mcphub/releases/tag/v1.0.32 x_refsource_MISC