Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

jazzband/djangorestframework-simplejwt
master @ a7cb077
7
Fixes
0
CVEs
CRITICAL
Peak severity
57.1%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
rest_framework_simplejwt/authentication.py: most-fixed (2 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: Inactive, deactivated, or modified users can obtain new access tokens if user-state checks and password change validations are not consistently enforced during the token refresh process. This has been a recurring vector for critical authentication bypasses.
Auth Bypass: Bypassing core JWT validation routines or failing to properly check for password changes on the authentication path can lead to unauthorized access using revoked or unverified tokens.
Auth Bypass: Improperly copying claims (such as 'iat') from a refresh token instead of generating a fresh timestamp can result in access tokens with invalid lifetimes, extending the window of opportunity for intercepted tokens.