Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
social_auth/backends/contrib/github.py: most-fixed (2 issues). Treat as high-risk during review.
4 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: Failure to properly enforce GitHub organization membership or safely fetch membership details via authenticated API requests allowed users outside the authorized organization to successfully bypass access restrictions.
Auth Bypass: Validation of email whitelists failed open instead of failing closed, which allowed unauthorized email addresses to bypass identity restrictions and authenticate successfully.
Auth Bypass: Case-sensitive email comparisons during the social authentication pipeline allowed attackers to associate their social accounts with existing users by exploiting case differences, leading to account takeover.