Security context

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

azuread/microsoft-authentication-library-for-java
dev @ c1e6b40
4
Fixes
0
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
msal4j-sdk: most-fixed (1 issue). 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: A fallback to returning the first available account from the token cache when no exact match was found allowed users to acquire tokens belonging to other federated identities stored in the same cache. This occurs during token requests on shared-cache systems.
Auth Bypass: Improperly trusting generic or broad domains in the trusted hosts list can allow unauthorized instances to bypass discovery checks. Strict validation of default trusted domains is critical to prevent malicious endpoint spoofing.
Auth Bypass: Performing OIDC discovery without validating that the returned issuer identifier matches the expected authority URL allows untrusted identity providers to hijack the authentication flow.