CVE-2026-57301: Jenkins OWASP ZAP Plugin Remote Code Execution on Controller
Jenkins users with the OWASP ZAP Plugin version 1.0.7 or earlier should be aware of a code execution vulnerability. The plugin is designed to run security scans on distributed Jenkins agents, but a flaw causes it to execute on the Jenkins controller itself instead. An attacker who has permission to configure Jenkins jobs can exploit this to run arbitrary code directly on your Jenkins controller—the central system that orchestrates all builds. This is particularly dangerous because the controller typically has broad access to credentials, source code, and other sensitive infrastructure.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-610
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-24 / 2026-06-26
NVD description (verbatim)
Jenkins OWASP ZAP Plugin 1.0.7 and earlier performs build operations on the Jenkins controller rather than the assigned agent, allowing attackers with Item/Configure permission to execute arbitrary code on the Jenkins controller.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-57301 is a privilege escalation and remote code execution vulnerability in the Jenkins OWASP ZAP Plugin (version 1.0.7 and earlier) caused by improper build execution context handling. The vulnerability stems from CWE-610 (Insufficient Control of Externally Supplied Input), where the plugin fails to enforce execution on designated agent nodes and instead runs build operations on the Jenkins controller. An authenticated attacker with Item/Configure permission can craft a malicious job configuration to execute arbitrary code in the controller's security context. The CVSS 3.1 score of 8.8 (HIGH) reflects the combination of network accessibility, low complexity, required low-level privileges, and high impact to confidentiality, integrity, and availability.
Business impact
A successful exploit allows attackers to compromise the Jenkins controller, which serves as the nerve center of your CI/CD pipeline. This enables theft of stored credentials, secrets, and API tokens; injection of malicious code into build artifacts and deployments; disruption of all downstream builds and deployments; and lateral movement into connected systems and repositories. The blast radius extends beyond Jenkins itself to any system that consumes its outputs or trusts its authentication.
Affected systems
Jenkins installations using the OWASP ZAP Plugin version 1.0.7 or earlier are affected. The vulnerability requires the attacker to have Item/Configure permission, meaning it affects environments where plugin access controls are loose or where internal threat models assume low-privilege job authors. Organizations running Jenkins for security scanning, code analysis, or automated testing pipelines are prime targets.
Exploitability
Exploitability is practical and does not require sophisticated techniques. The attack vector is network-accessible, requires no special conditions, and needs only basic-level authentication (Item/Configure permission, typically granted to developers or CI/CD engineers). No user interaction is required. However, the attacker must already have Jenkins access and sufficient permissions, which narrows the scope of opportunistic attacks but makes this a significant insider risk.
Remediation
Upgrade the OWASP ZAP Plugin to a patched version released by the Jenkins project. Verify the exact patched version against the official Jenkins plugin repository and vendor advisories. As an interim measure, restrict Item/Configure permission to only trusted personnel and audit existing job configurations for suspicious build steps. Consider disabling the plugin entirely if it is not actively used.
Patch guidance
The Jenkins project has released security updates addressing this vulnerability. Consult the official Jenkins Security Advisory and the plugin's update center to identify and deploy the patched version. Test the upgrade in a non-production environment first to ensure compatibility with existing job configurations. After upgrading, review and re-validate the scope of Item/Configure permissions across your Jenkins instance to prevent lateral exploitation.
Detection guidance
Monitor Jenkins logs and audit trails for unusual build execution patterns, particularly jobs configured with the OWASP ZAP Plugin that execute unexpected commands on the controller. Inspect the Jenkins controller's process logs for signs of unauthorized command execution. Review job configurations for suspicious build steps, especially those that bypass agent node specifications. Network monitoring can detect unexpected outbound connections or data exfiltration from the controller. Consider using Jenkins security plugins to enforce stricter role-based access control and job execution policies.
Why prioritize this
This vulnerability warrants high priority due to the elevated privileges required (controller-level execution), the low barrier to entry (Item/Configure permission), and the direct path to sensitive infrastructure compromise. The HIGH CVSS score and the central role of the Jenkins controller in CI/CD pipelines make this a critical risk. Organizations relying on Jenkins as a core automation platform should prioritize patching immediately.
Risk score, explained
The CVSS 3.1 score of 8.8 (HIGH) reflects the combination of factors: network accessibility (low barrier to reaching the vulnerability), low attack complexity (no special conditions required), and the requirement for low-level privileges (Item/Configure is typically granted to many users). The impact is severe across all three dimensions—confidentiality (theft of credentials and code), integrity (injection of malicious code into builds), and availability (disruption of CI/CD operations). The lack of user interaction and the unbounded scope (no container isolation) further elevate the risk.
Frequently asked questions
Do we need to patch immediately if we don't use the OWASP ZAP Plugin?
No. This vulnerability is specific to the OWASP ZAP Plugin. If your Jenkins instance does not have the plugin installed, you are not affected. However, verify your plugin inventory to be certain.
What if we only allow trusted developers to configure jobs?
While trust matters, the vulnerability requires only Item/Configure permission, which many organizations grant liberally to CI/CD teams. Even trusted insiders can be compromised or socially engineered. Patching is the only reliable mitigation.
Can we safely disable the plugin instead of patching?
Yes, if the plugin is not actively used in your security scanning pipeline. Disabling it eliminates the attack surface. However, if OWASP ZAP integration is critical to your workflow, prioritize patching and upgrading rather than removing functionality.
How do we know if our Jenkins controller has been exploited?
Investigate Jenkins audit logs and controller process logs for anomalous activity, such as unexpected command execution or credential access around the time the vulnerability was discovered in your environment. Check for unauthorized SSH keys, new user accounts, or modified system configurations. Consider engaging incident response if evidence of compromise is found.
This analysis is provided for informational purposes and reflects publicly available information as of the publication date. Readers should verify all patch versions, compatibility notes, and vendor advisories against official Jenkins security bulletins before implementing changes. The presence or absence of a vulnerability in CISA's KEV catalog does not indicate the absence of active exploitation. Organizations should conduct independent risk assessments and threat modeling appropriate to their environment. SEC.co and its authors assume no liability for actions taken or not taken based on this information. Source: NVD (public-domain), retrieved 2026-07-30. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-0418MEDIUMNetgear Configuration Tampering Vulnerability (CBR750, EX6120, RAX Series)
- CVE-2026-12788MEDIUMXXE Vulnerability in zhilink ADP Platform 1.0.0 – Authentication Required
- CVE-2026-53435HIGHCritical Java Deserialization Vulnerability in Jenkins – CVSS 8.8
- CVE-2026-57280HIGHJenkins Script Security Plugin Sandbox Bypass (CVSS 8.8)
- CVE-2026-57281HIGHJenkins Script Security Plugin Sandbox Escape (CVSS 7.5)
- CVE-2026-57303HIGHJenkins Assembla Plugin XXE Vulnerability – HIGH Severity
- CVE-2026-53436MEDIUMJenkins Login Redirect Phishing Vulnerability (CVSS 4.3)
- CVE-2026-53437MEDIUMJenkins Login Redirect Validation Bypass (Phishing Risk)