CVE-2026-57280

jenkins-script-security-plugin: Jenkins Script Security Plugin: Sandbox bypass leading to arbitrary code execution

Published Jun 24, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not intercept the implicit type casts applied to the elements of typed for-each loops in sandboxed Groovy scripts, allowing attackers able to provide such scripts to invoke arbitrary constructors and bypass the sandbox protection.

Analysis

AI-generated

Technical impact

The Jenkins Script Security Plugin fails to intercept implicit type casts applied to elements of typed for-each loops in sandboxed Groovy scripts. An attacker who can supply such scripts is able to invoke arbitrary constructors, effectively bypassing the sandbox and executing unrestricted code inside the Jenkins environment, thereby compromising confidentiality, integrity, and availability. The weakness corresponds to CWE-1287.

Affected Systems

Vulnerable installations are those running Jenkins Script Security Plugin version 1402.v94c9ce464861 or earlier. All sites that have not upgraded this plugin are potentially exposed.

Risk and Exploitability

Based on the description, it is inferred that the attacker must be able to deliver Groovy scripts to the Jenkins server; the likely attack vector is the submission of scripts. An attacker who can deliver Groovy scripts to the Jenkins server can exercise this flaw to achieve arbitrary code execution. The CVSS score of 8.8 indicates high severity, but the EPSS score of < 1% shows a low exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Attack feasibility requires only the ability to submit scripts, which many Jenkins configurations allow to authorized users, making the risk significant for environments with open script execution rights.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Jenkins Script Security Plugin to 1403 or later.
  • If upgrade is not immediately possible, disable Groovy script execution or restrict script submission to trusted users only.
  • Apply general Jenkins hardening practices, limiting script permissions and enforcing strict sandbox policies.

Generated by OpenCVE AI on August 2, 2026 at 01:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c3jm-9vj7-5v66 Jenkins Script Security Plugin sandbox bypass vulnerability
History
Type Values Removed Values Added
Weaknesses CWE-264
CWE-730
Type Values Removed Values Added
Title Jenkins Script Security Plugin Sandbox Bypass via Implicit Type Cast in Groovy Loops jenkins-script-security-plugin: Jenkins Script Security Plugin: Sandbox bypass leading to arbitrary code execution
Weaknesses CWE-1287
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins Script Security Plugin
Vendors & Products Jenkins Project
Jenkins Project jenkins Script Security Plugin
Type Values Removed Values Added
Title Jenkins Script Security Plugin Sandbox Bypass via Implicit Type Cast in Groovy Loops
Weaknesses CWE-264
CWE-730
Type Values Removed Values Added
Weaknesses CWE-693
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not intercept the implicit type casts applied to the elements of typed for-each loops in sandboxed Groovy scripts, allowing attackers able to provide such scripts to invoke arbitrary constructors and bypass the sandbox protection.
References
Weaknesses
  • CWE-1287

    Improper Validation of Specified Type of Input

  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
jenkins
Published
Updated
Jun 24, 2026, 1:58 PM
Reserved
Jun 24, 2026, 8:41 AM
Status
Analyzed
Published
Jun 24, 2026, 2:17 PM
Modified
Oct 25, 2026, 11:10 PM
Severity
Important
Public date
Jun 24, 2026, 1:20 PM