Security context

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

kanidm/kanidm
master @ 687f36c
54
Fixes
1
CVEs
CRITICAL
Peak severity
60.0%
Coverage
Highlights
Auth Bypass: 27 prior fixes. Scrutinize any change in this area.
server/lib/src/idm/oauth2.rs: most-fixed (9 issues). Treat as high-risk during review.
24 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: Authenticated users could bypass modification controls and elevate privileges because empty modify sets were not explicitly denied in the access engine.
Auth Bypass: OAuth2 redirect URI validation has had multiple logical flaws, including weak pattern matching of secure loops and failure to preserve and strictly match query parameters.
Auth Bypass: Sessions remained active post-credential modifications due to the absence of bound credential UUID tracking, allowing stale sessions to persist.