Security context

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

sebadob/rauthy
main @ 1bbe274
85
Fixes
0
CVEs
HIGH
Peak severity
55.9%
Coverage
Highlights
Auth Bypass: 50 prior fixes. Scrutinize any change in this area.
rauthy-service/src/auth.rs: most-fixed (6 issues). Treat as high-risk during review.
43 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: Custom root-level claims could shadow reserved JWT claim names, potentially allowing privilege escalation or token claim spoofing during token serialization.
Auth Bypass: Session extension was possible via token refresh requests even after a user lost group privileges because of a missing validation step during token refresh.
Auth Bypass: The standard OIDC sub (subject) claim was mapped to a mutable email address instead of an immutable user ID, allowing potential authentication spoofing or hijacking if emails were changed or reused.