Security context

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

rustmailer/bichon
main @ 6fcc9e0
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/modules/rest/api/oauth2.rs: most-fixed (1 issue). Treat as high-risk during review.
0 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: Inconsistent permission boundaries allowed low-privileged or non-ROOT users to access sensitive OAuth2 endpoints, potentially exposing authorization contexts. Ensure strict, centralized permission verification on all OAuth operations.
Auth Bypass: Failing to invalidate active WebUI sessions when user passwords are changed allows compromised sessions to persist indefinitely. This bypasses authentication controls for any hijacked token.