News

Supabase OAuth vulnerability fixed

An OAuth token issue we reported to Supabase, which could let third-party tokens reach first-party account endpoints, is fixed in Supabase Auth v2.198.0.

Verdatir 1 min read
Share
Illustration of an access token inside a shield, with its paths to account endpoints blocked at the edge of its permitted scope

The security report we submitted to Supabase has now been resolved. The fix has been released and rolled out across their hosted platform, and the issue is cleared for public disclosure. Here’s what it was.

What the vulnerability was

The issue involved how OAuth access tokens were handled. A token that a user had authorized for a limited third-party scope could also be used to access first-party account endpoints, potentially creating an account takeover path.

How Supabase fixed it

Supabase addressed this by restricting these tokens to the OAuth endpoints they were originally intended for, plus read-only access to the user record. Endpoints that change the account, such as updating the user, managing identities and MFA factors, or admin actions, now reject OAuth client tokens. The fix was merged on 3 November 2026 and shipped in GoTrue (Supabase Auth) v2.198.0.

Credit to the Supabase security team for acknowledging our report, addressing the issue, and rolling out the fix across their hosted platform. This is exactly how responsible disclosure should work.

Why we report these

When building on open infrastructure, security is a shared responsibility. Reporting vulnerabilities through the proper channels helps make the ecosystem safer for everyone.

Glad to see this one resolved.

Sources

  1. Supabase Auth v2.198.0 release notes (GitHub)
  2. supabase/auth PR #2898: restrict OAuth client access tokens to OAuth endpoints
  • Security
  • Responsible disclosure
  • Supabase
  • OAuth

Written by

Verdatir

Research and perspectives from the Verdatir team on verification, interoperability and the governance of environmental data.

Newsletter

Follow the work on trusted environmental data

Occasional briefings on standards, regulation and verification practice. No marketing drip, unsubscribe any time.

See the review engine on your own data

Bring an EPD, a PCF or a supplier dataset. We show you what an auditable review looks like end to end.