Highlights
Auth Bypass: 13 prior fixes. Scrutinize any change in this area.
api/transformerlab/routers/auth.py: most-fixed (4 issues). Treat as high-risk during review.
22 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: FastAPI route handlers historically relied on overly generic user dependencies (like 'current_active_user') rather than team-aware validation, allowing users to bypass access boundaries on sensitive endpoints.
Path Traversal: The trackio service did not properly sanitize organization, experiment, and job identifiers when resolving directory paths, enabling arbitrary file operations via copy and directory structures.
Command Injection: Environment variables supplied to AWS user-data bash scripts were concatenated directly into strings without sufficient shell validation or escaping, leading to potential command injection.