Security context

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

jenkinsci/docker-workflow-plugin
master @ 7bba279
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
src/main/java/org/jenkinsci/plugins/docker/workflow/DockerDSL.java: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Sandbox Escape: Bypassing the Groovy sandbox allows untrusted pipeline scripts to execute arbitrary code outside the Jenkins restricted sandbox environment. Strict allowlist checks must be enforced for DSL-exposed entry points.
Command Injection: Incorrect boundary checks when parsing CLI options like '--build-arg' can lead to unexpected execution flow or exceptions that disrupt parsing, potentially allowing attackers to inject malformed options into Docker commands.