Jenkins Script Security Plugin sandbox bypass vulnerability
Jenkins Script Security Plugin provides a sandbox feature that allows running user-provided scripts safely by intercepting and checking potentially unsafe operations.
Script Security Plugin 1402.v94c9ce464861 and earlier does not intercept the implicit type cast applied to each element of the iterated collection in a typed for loop (e.g. for (Type t in collection)), as this cast is performed during bytecode generation rather than in the transformed script AST.
This allows attackers able to provide sandboxed scripts to invoke constructors of arbitrary types without those invocations being checked by the sandbox, bypassing the sandbox protection. This can be used to execute arbitrary code on the Jenkins controller.
Script Security Plugin 1402.1405.vc96e74964250 updates the bundled groovy-sandbox library to a version that intercepts the implicit type cast applied to typed for loop elements, so those casts are checked by the sandbox.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.jenkins-ci.plugins:script-security | < 1402.1405.vc96e74964250 | 1402.1405.vc96e74964250 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-57280
- https://github.com/jenkinsci/script-security-plugin/commit/858015c25c7bc7ab59c666307093b0e16b90048c
- https://github.com/jenkinsci/script-security-plugin
- https://github.com/jenkinsci/script-security-plugin/releases/tag/1402.1405.vc96e74964250
- https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3792
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-693- Platform
- Java / Kotlin (Maven)
- Package
org.jenkins-ci.plugins:script-security- Disclosed
- 24.06.2026
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-c3jm-9vj7-5v66 - CC BY 4.0
Vulnerability history: org.jenkins-ci.plugins:script-security
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 37
- First → latest
- 05.2022 06.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 5
- High 22
- Medium 10
Disclosures per year
- 2022: 30
- 2023: 1
- 2024: 3
- 2025: 0
- 2026: 3
-
Jenkins Script Security Plugin sandbox bypass vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.