CVE-2026-31813

Supabase Auth is a JWT based API for managing users and issuing JWT tokens. Prior to 2.185.0, a vulnerability has been identified that allows an attacker to issue sessions for arbitrary users using specially crafted ID tokens when the Apple or Azure providers are enabled. The attacker issues a valid, asymmetrically signed ID token from their issuer for each victim email address, which then is sent to the Supabase Auth token endpoint using the ID token flow. If the ID token is OIDC compliant, the Auth server would validate it against the attacker-controlled issuer and link the existing OIDC identity (Apple or Azure) of the victim to an additional OIDC identity based on the ID token contents. The Auth server would then issue a valid user session (access and refresh tokens) at the AAL1 level to the attacker. This vulnerability is fixed in 2.185.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:supabase:auth:*:*:*:*:*:*:*:*

History

20 Mar 2026, 14:06

Type Values Removed Values Added
References () https://github.com/supabase/auth/security/advisories/GHSA-v36f-qvww-8w8m - () https://github.com/supabase/auth/security/advisories/GHSA-v36f-qvww-8w8m - Vendor Advisory
Summary
  • (es) Supabase Auth es una API basada en JWT para gestionar usuarios y emitir tokens JWT. Antes de la versión 2.185.0, se ha identificado una vulnerabilidad que permite a un atacante emitir sesiones para usuarios arbitrarios utilizando tokens de ID especialmente diseñados cuando los proveedores de Apple o Azure están habilitados. El atacante emite un token de ID válido, firmado asimétricamente, desde su emisor para cada dirección de correo electrónico de la víctima, el cual luego se envía al endpoint de tokens de Supabase Auth utilizando el flujo de tokens de ID. Si el token de ID cumple con OIDC, el servidor de Auth lo validaría contra el emisor controlado por el atacante y vincularía la identidad OIDC existente (Apple o Azure) de la víctima a una identidad OIDC adicional basada en el contenido del token de ID. El servidor de Auth emitiría entonces una sesión de usuario válida (tokens de acceso y de actualización) en el nivel AAL1 al atacante. Esta vulnerabilidad está corregida en la versión 2.185.0.
CPE cpe:2.3:a:supabase:auth:*:*:*:*:*:*:*:*
First Time Supabase
Supabase auth

11 Mar 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-11 17:16

Updated : 2026-03-20 14:06


NVD link : CVE-2026-31813

Mitre link : CVE-2026-31813

CVE.ORG link : CVE-2026-31813


JSON object : View

Products Affected

supabase

  • auth
CWE
CWE-290

Authentication Bypass by Spoofing