CVE-2026-135300
Pomerium has an authentication bypass vulnerability that lets attackers exchange intercepted tokens using an incorrect client secret.
What is it?
This vulnerability is an authentication flaw in the MCP token endpoint. The software fails to properly verify the client secret for a specific type of client. Because of this, an attacker who intercepts an authorization code or refresh token can trade it for a victim's access tokens without needing the correct secret.
Think of it like this
Imagine a secure club where the bouncer checks your membership card. Because of a mistake, the bouncer forgets to check your secret password. As long as you managed to pick up someone else's dropped guest pass, the bouncer lets you right in.
How the attack works
- An attacker intercepts a victim's authorization code or refresh token.
- The attacker sends this token to the MCP token endpoint.
- The application fails to verify the client secret correctly for client_secret_basic clients.
- The application grants the attacker the victim's access tokens.
Real-world example
Imagine an attacker intercepts a user's authorization code. The attacker visits the token endpoint and uses any random string as the secret. Because the system skips verification, it accepts the fake secret and hands over the victim's session access tokens.
Who is affected
Pomerium versions from 0.30.0 before 0.34.0.
Impact
An attacker can obtain a victim's access tokens and gain unauthorized access.
How to fix it
- Update Pomerium to version 0.34.0 or later to resolve the issue.
Key terms
- Authentication Bypass
- A security flaw that allows users to circumvent login or verification checks.
- Access Token
- A credential used by an application to access an API on behalf of a user.
Official description (NVD)
Pomerium from 0.30.0 before 0.34.0 contains an authentication bypass vulnerability in the MCP token endpoint that skips client secret verification for client_secret_basic clients. Attackers holding an intercepted authorization code or refresh token can redeem it at /.pomerium/mcp/token with any secret to obtain the victim's access tokens.