Security context

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

geex-arts/django-jet
dev @ 0cc1e63
2
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
jet/forms.py: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix 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: The ModelLookupForm contained an incorrect permission lookup check where the permission codename was evaluated without its mandatory application label prefix. This allowed users without the required model permissions to bypass security checks because 'has_perm' failed to resolve the malformed permission string correctly.
Auth Bypass: Prior to mitigation, unauthorized or non-staff users could perform sensitive model queries through the model lookup form because the form lacked explicit validation of Django staff status and model-level change permissions.