Highlights
Command Injection: 3 prior fixes. Scrutinize any change in this area.
src/Common/CommandArguments.php: most-fixed (2 issues). Treat as high-risk during review.
3 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.
Command Injection: Discarding the output of escaping functions (like array_map with ProcessUtils::escapeArgument) or failing to encode parameters during command string concatenation leads to direct shell injection. Empty-string wildcards in custom regexes also created bypass opportunities.
Command Injection: Standard PHP escaping functions like escapeshellarg are insufficient on Windows platforms where task names containing special shell characters can bypass the sanitization, requiring specialized Symfony-based escaping.