Security context

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

prefecthq/prefect
main @ f6efa62
90
Fixes
2
CVEs
HIGH
Peak severity
22.9%
Coverage
Highlights
Denial of Service: 38 prior fixes. Scrutinize any change in this area.
src/prefect/server/api/server.py: most-fixed (5 issues). Treat as high-risk during review.
18 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: Suffix-based URL path matching and unvalidated route exemptions allowed malicious clients to bypass basic authentication by crafting endpoints ending with terms like 'health' or 'ready'.
CSRF: Insufficient cross-site request forgery protection in state-changing client operations allowed unauthorized orchestration actions on behalf of logged-in users.
Path Traversal: Local filesystem operations and path resolution allowed directory traversal exploits outside the intended base storage root when handling deployment structures or saving artifacts.