CVE-2026-79745
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data tampering.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-862 · Missing authorization
- Record status
- Awaiting Analysis
Attack profile CVSS 3.1 · 7.1
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Fix and advisories
- https://github.com/samanhappy/mcphub/commit/6ba55ac63954a71506e61c088753251e2ff643cf
- https://github.com/samanhappy/mcphub/pull/1069
- https://github.com/samanhappy/mcphub/releases/tag/v1.0.32
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-6cvf-cfch-4g7m
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-6cvf-cfch-4g7m
References
- https://github.com/samanhappy/mcphub/commit/6ba55ac63954a71506e61c088753251e2ff643cf
- https://github.com/samanhappy/mcphub/pull/1069
- https://github.com/samanhappy/mcphub/releases/tag/v1.0.32
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-6cvf-cfch-4g7m
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-6cvf-cfch-4g7m