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

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-03-11T16:42:56.606Z
- Modified: 2026-06-17T10:34:30.390Z
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- supabase auth: < 2.185.0; before 2.185.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/supabase/auth/security/advisories/GHSA-v36f-qvww-8w8m> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-31813](https://www.cve.org/CVERecord?id=CVE-2026-31813), CVE Terms of Use, modified 2026-03-11
- NVD: [CVE-2026-31813](https://nvd.nist.gov/vuln/detail/CVE-2026-31813), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31813 · Whole record: https://cve.day/CVE-2026-31813.json · Rebuilt by cve.day 2026-11-25T22:59:15.753Z
