Description
MCPHub before 1.0.32 contains an authentication bypass vulnerability in its embedded OAuth 2.0 authorization server where client authentication is disabled by default and PKCE enforcement is optional. Attackers who obtain an authorization code through interception can redeem it for access tokens without providing a client secret or PKCE verifier, gaining access to victim accounts and their privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| samanhappy | mcphub | < 1.0.32 | 1.0.32 |
References
- GitHub Security Advisory (GHSA-3m7m-37xf-xp9x) third-party-advisory vendor-advisory
- fix(security): enforce OAuth client auth and S256-only PKCE policy patch
- getClient() verifies a registered secret only when one is supplied, at v1.0.31 technical-description
- mcphub v1.0.32 Release Notes release-notes
- VulnCheck Advisory: MCPHub before 1.0.32 OAuth 2.0 Authentication Bypass third-party-advisory