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.
OpenCVE Enrichment