Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
rest_framework_jwt/utils.py: most-fixed (3 issues). Treat as high-risk during review.
3 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: Misconfiguration of PyJWT decoding options can result in a total authentication bypass, such as when migrating away from deprecated verification parameters or failing to pin allowed cryptographic algorithms during decoding.
Auth Bypass: Incomplete exception handling during token decoding can leak details or allow invalid credentials to bypass enforcement points if decoding errors like InvalidTokenError are not properly converted to AuthenticationFailed.
Auth Bypass: Neglecting to explicitly validate standard token claims, such as the issuer claim, allows tokens generated by unauthorized authorities to be accepted.