Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @samanhappy/mcphub
  4. ›
  5. GHSA-wf8q-wvv8-p8jf

GHSA-wf8q-wvv8-p8jf: @samanhappy/mcphub: SSE Endpoint Accepts Arbitrary Username from URL Path Without Authentication, Enabling User Impersonation

May 14, 2026

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 acknowledges this gap with a TODO comment.

References

  • github.com/advisories/GHSA-wf8q-wvv8-p8jf
  • github.com/samanhappy/mcphub/releases/tag/v0.12.15
  • github.com/samanhappy/mcphub/security/advisories/GHSA-wf8q-wvv8-p8jf

Code Behaviors & Features

Detect and mitigate GHSA-wf8q-wvv8-p8jf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.15

Fixed versions

  • 0.12.15

Solution

Upgrade to version 0.12.15 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

npm/@samanhappy/mcphub/GHSA-wf8q-wvv8-p8jf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:09 +0000.