Security context

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

saltstack/salt
master @ 5456549
168
Fixes
0
CVEs
CRITICAL
Peak severity
28.6%
Coverage
Highlights
Auth Bypass: 36 prior fixes. Scrutinize any change in this area.
requirements/static/ci/*: most-fixed (13 issues). Treat as high-risk during review.
124 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: Recurring auth bypasses across master RPC, transport, and netapi, often from missing signature checks, empty pubkey acceptance, or flawed token/group logic.
Path Traversal: Unsafe path joins in file serving, wheel, and gitfs allowed traversal outside root; fixed via clean_path/clean_join and junction handling.
Command Injection: Shell=True subprocess calls and unvalidated git URLs led to command injection; fixed by list args, sanitizing SSH kwargs, and URL validation.