CVE-2026-57280: 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.
Published Jun 24, 2026 · Updated Sep 25, 2026
Affected packages
org.jenkins-ci.plugins:script-security
- Ecosystem
- Maven
- Affected
- < 1402.1405.vc96e74964250
- Fixed in
- 1402.1405.vc96e74964250
- Check
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins:script-security
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-57280
- https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3792
- https://github.com/jenkinsci/script-security-plugin/commit/858015c25c7bc7ab59c666307093b0e16b90048c
- https://github.com/jenkinsci/script-security-plugin/releases/tag/1402.1405.vc96e74964250
- https://github.com/advisories/GHSA-c3jm-9vj7-5v66
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-57281
Jenkins Script Security Plugin has a script security bypass vulnerability
high7.5Jun 24, 2026CVE-2026-42519
Jenkins Script Security Plugin: Missing permission checks allow enumeration of pending and approved classpaths
medium4.3Apr 29, 2026CVE-2024-52549
Missing permission check in Jenkins Script Security Plugin
medium4.3Nov 13, 2024CVE-2024-34144
Jenkins Script Security Plugin has sandbox bypass vulnerability involving crafted constructor bodies
high8.8May 2, 2024CVE-2024-34145
Jenkins Script Security Plugin sandbox bypass vulnerability
high8.8May 2, 2024
