Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

supabase/auth
master @ 78988a3
118
Fixes
1
CVEs
CRITICAL
Peak severity
30.8%
Coverage
Highlights
Auth Bypass: 65 prior fixes. Scrutinize any change in this area.
api/token.go: most-fixed (9 issues). Treat as high-risk during review.
62 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Improper validation and matching of OIDC ID token issuers from Apple and Azure providers could allow attackers to forge identities and spoof accounts, leading to complete authentication bypasses. This is a critical risk tracked formally by CVE-2026-31813.
Auth Bypass: A logic error in the password verification routine inverted the ConstantTimeCompare check on Argon2 hashes, meaning mismatched passwords could be mistakenly validated as correct.
Auth Bypass: During token issuance, failures or access-denied responses returned by custom HTTP hooks were ignored rather than bubbled up, permitting unauthorized token generation even when external controls explicitly rejected the request.