Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · MCP security

We put our internal MCP servers behind Pomerium, so AI clients sign in through Pomerium's MCP authorization flow. I saw a critical advisory about Pomerium's MCP token endpoint. What is CVE-2026-135300, which version fixes it, and what should we check after upgrading?

Last updated

TL;DR: It could before Pomerium 0.34.0. CVE-2026-135300 (GHSA-2hj6-2qpj-pqj2, published November 23, 2026; VulnCheck rates it critical, CVSS 4.0 score 9.1) affects Pomerium from 0.30.0 up to 0.34.0. When Pomerium acts as the OAuth authorization server for MCP clients, its token endpoint at /.pomerium/mcp/token didn't check the client secret for clients registered with the client_secret_basic method. Someone who had already intercepted an authorization code or a refresh token could redeem it with any secret and get the victim's access tokens. The secret is meant to be the second factor that makes a leaked code or refresh token useless on its own. The fix (pull request 6787) shipped in 0.34.0 on November 4, 2026; 0.34.2 (November 25) was the newest release on November 28. Upgrading changes behaviour: clients that registered without naming a method default to client_secret_basic and now get invalid_client unless they really send their secret, and because Pomerium's MCP refresh tokens last a year, that can show up mid-session.

What should I check, step by step?

1. Check the running version: Pomerium 0.30.0 through 0.33.x is affected when it serves MCP routes. 0.34.0 and later check the secret. The 0.33.5 and 0.33.6 releases from October 2026 don't carry the fix.

  1. Before upgrading, read the 0.34 licensing note: official 0.34 binaries and images ship under the Pomerium Community Edition License while the source stays Apache 2.0. Confirm you're eligible or plan a commercial license or a source build.
  2. After upgrading, watch for MCP clients that start getting invalid_client at the token endpoint. Those registered as client_secret_basic but never sent the secret; they need to send it in the Authorization header or register again with the method they actually use.
  3. Treat refresh tokens issued before the upgrade as possibly exposed if they could have been logged or captured: in proxy or debug logs, crash reports, shared config files or an agent's own memory. Make those users sign in again rather than waiting a year for the tokens to expire.
  4. Look in your Pomerium access logs for token endpoint requests that refreshed a client's tokens from an address or user agent that client doesn't normally use.
  5. Keep MCP clients from writing refresh tokens or authorization codes into logs, transcripts or tool output an agent can read back later.

What is CVE-2026-135300 in Pomerium's MCP token endpoint?

Pomerium is an identity-aware proxy that can also protect MCP servers (the advisory covers every release from 0.30.0): an MCP client signs the user in through Pomerium's own OAuth flow, and Pomerium issues the access and refresh tokens the client then uses on the protected routes. Clients can register themselves, and each registration names how the client proves it's that client at the token endpoint: none, client_secret_post (the secret in the request body) or client_secret_basic (the secret in an HTTP Basic Authorization header).

How does Pomerium 0.34.0 fix CVE-2026-135300, and what does the upgrade change for MCP clients?

Pull request 6787, merged September 24, 2026 and released in 0.34.0 on November 4, 2026, makes the token endpoint verify the secret for client_secret_basic. The Basic header must be present, must name the same client the request is for, and its secret is compared in constant time. A client is bound to the method it registered: the right secret sent the wrong way, or sent both ways at once, is refused, and a secret in the query string never counts. A companion change (pull request 6786) answers every client authentication failure with invalid_client, which tells MCP clients their registration is dead and they should register again.

Why does a client secret matter for MCP refresh tokens?

A refresh token is the long-lived half of an MCP sign-in. Agents and MCP clients keep it on disk or in memory and send it every time the access token runs out, which gives it more chances to end up in a log, a transcript, a crash dump or a config file someone shares. The client secret is what's supposed to make a copied refresh token useless to anyone but the client it was issued to.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We upgraded our Pomerium MCP gateway to 0.34.2 to fix CVE-2026-135300 and made users sign in again. Record a receipt for the change with the old and new versions and when the forced sign-in happened.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "security.patch_applied",
    "outcome": "success",
    "occurred_at": "2026-11-28T15:00:00Z",
    "client_event_id": "pomerium-mcp:cve-2026-135300:2026-11-28",
    "summary": "Pomerium MCP gateway upgraded 0.33.6 -> 0.34.2 (CVE-2026-135300, GHSA-2hj6-2qpj-pqj2); MCP refresh tokens issued before the upgrade invalidated by forced sign-in at 15:00 UTC; 2 clients re-registered after invalid_client",
    "action_sha256": "<sha256 of the change ticket or upgrade log>"
  }
}

Rightshold isn't affiliated with Pomerium or VulnCheck. Details are from GitHub's advisory GHSA-2hj6-2qpj-pqj2, VulnCheck's advisory for CVE-2026-135300, Pomerium pull requests 6787 and 6786 with the fix commit, the v0.34.0 release notes and Pomerium's MCP documentation, all read November 28, 2026. Advisories get updated; confirm affected and fixed versions on the linked pages.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'