Security context

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

keycloak/keycloak-client
main @ cf4a76f
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
client-common-synced/src/main/java/org/keycloak/common/util/PathMatcher.java: most-fixed (1 issue). Treat as high-risk during review.
2 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.

Path Traversal: The core path-matching utility lacked URI normalization, allowing mutations like matrix params, double slashes, dot segments, percent-encoding, or trailing slashes to alter match results and bypass authorization.
Path Traversal: Authorization enforcement used substring containment on the raw request URI to detect the access-denied path, enabling crafted URLs to inject or bypass the check. Replaced with normalized exact match.