Highlights
Auth Bypass: 22 prior fixes. Scrutinize any change in this area.
server/api/v1/system/sys_user.go: most-fixed (6 issues). Treat as high-risk during review.
40 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: Recurring critical path traversal across file operations; multiple fixes and CVEs show incomplete validation in different components.
Auth Bypass: Multiple distinct bypasses in authentication and authorization: JWT blacklist logic errors, Casbin path matching flaws, and user ID/authority taken from request instead of JWT.
Privilege Escalation: Mass assignment of authority/password fields and missing cross-level authority checks allow privilege escalation.