Highlights
Auth Bypass: 20 prior fixes. Scrutinize any change in this area.
dj_rest_auth/registration/serializers.py: most-fixed (6 issues). Treat as high-risk during review.
14 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: Google OAuth validation mistakenly used an unresolved token variable instead of the valid id_token, allowing incorrect payloads to succeed. Additionally, empty credentials or improper handling of social login errors could lead to unauthorized account associations.
Auth Bypass: JWT logout endpoints failed to properly extract and blacklist refresh tokens from secure cookies when JWT_AUTH_HTTPONLY was enabled, allowing expired or logged-out sessions to remain active.
Auth Bypass: Password reset flows were vulnerable to validation bypass because token validation logic either ran after password evaluation or merely appended errors to self._errors instead of raising a terminal ValidationError.