Skip to main content
VulnerabilityPublished

CVE-2026-31813: supabase auth · Authentication Bypass by Spoofing

Affects supabase authSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.8 Medium : upgrade to 2.185.0 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.185.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade auth and supabase/auth to 2.185.0.

Affected software

ProductAffectedFixed in
supabaseauthAffected
  • <2.185.0
Fixed in
  • 2.185.0
GitHubsupabase/authpkg:github/supabase/authOther threatsAffected
  • <2.185.0
Fixed in
  • 2.185.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Supabase Auth to version 2.185.0 or later immediately to apply the fix that corrects the issuer validation and identity linking logic. Until patching is possible, disable the Apple and Azure OIDC providers if feasible to prevent exploitation. Implement additional monitoring and alerting on authentication anomalies, such as unexpected token issuances or session creations for high-privilege accounts. Employ multi-factor authentication (MFA) at higher assurance levels to reduce the impact of compromised sessions. Review and restrict token issuance policies and validate OIDC issuer configurations carefully. Conduct regular security assessments and penetration testing focused on authentication flows. Educate developers and administrators about the risks of improper token validation and the importance of keeping authentication libraries up to date. Consider implementing anomaly detection systems that can flag unusual login patterns or token usage.

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.

References

Community reviews

Loading reviews…