Highlights
Auth Bypass: 60 prior fixes. Scrutinize any change in this area.
api/custom_auth/serializers.py: most-fixed (4 issues). Treat as high-risk during review.
75 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: Multiple fixes address missing membership checks in permission queries, allowing deactivated users or orphaned permission records to retain access. This is a systemic issue in the permission service layer.
Auth Bypass: Several fixes correct incorrect permission checks (wrong action name, wrong level, missing tag-based checks) on feature states, environments, and segments, indicating a pattern of incomplete or misconfigured authorization on core resources.
Auth Bypach: Frontend permission checks repeatedly use the wrong permission constant (e.g. ADMIN instead than MANAGE_SEGMENTS, CREATE_ENVIRONMENT instead of ADMIN), leading to UI-level authorization bypasses that expose management actions.