Back to list

@samanhappy/mcphub: SSE Endpoint Accepts Arbitrary Username from URL Path Without Authentication, Enabling User Impersonation — GHSA-WF8Q-WVV8-P8JF

GitHub · GitHub · GHSA-WF8Q-WVV8-P8JF

ID
GHSA-WF8Q-WVV8-P8JF
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.1

Summary

### Summary A critical identity spoofing vulnerability in MCPHub allows any unauthenticated user to impersonate any other user — including administrators — on SSE (Server-Sent Events) and MCP transport endpoints. The server accepts a username from the URL path parameter and creates an internal user session without any database validation, token verification, or authentication check. The source code itself…

Product

npm: @samanhappy/mcphub

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories