Highlights
Auth Bypass: 13 prior fixes. Scrutinize any change in this area.
djoser/serializers.py: most-fixed (9 issues). Treat as high-risk during review.
11 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: Custom database-lookup fallbacks on authenticate() failures allowed unauthorized login, bypassing standard Django authentication backends. This is tracked under CVE-2024-21543.
Auth Bypass: Missing fields (specifically current_password) in serializer Meta configurations caused endpoints like username modification and set_username to skip crucial password validation.
Auth Bypass: Performing account mutations (such as reset_username_confirm) against the active session user (request.user) instead of the user context verified by the security token allowed attackers to hijack or modify unauthorized profiles.