Highlights
Auth Bypass: 35 prior fixes. Scrutinize any change in this area.
backend/app/api/v1/file.go: most-fixed (7 issues). Treat as high-risk during review.
67 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: Dominant vulnerability class with 35+ fixes; recurring root causes include IP spoofing via X-Forwarded-For, middleware ordering errors, missing return statements, and logical operator mistakes in credential checks.
Command Injection: 12 fixes plus multiple CVEs (CVE-2025-56413, CVE-2024-34352, CVE-2023-37477) show persistent shell injection via string interpolation; mitigations rely on character blocklists that are repeatedly bypassed (added <, >, newline).
Path Traversal: 12 fixes and multiple CVEs (CVE-2023-39964, CVE-2023-39966) indicate file read/write/download endpoints repeatedly lacked path canonicalization and prefix checks; some endpoints were removed entirely.