{"id":"CVE-2026-57280","aliases":["GHSA-c3jm-9vj7-5v66"],"title":"Jenkins Script Security Plugin sandbox bypass vulnerability","summary":"Jenkins Script Security Plugin sandbox bypass vulnerability","severity":"high","cvss":8.8,"cwe":["CWE-693"],"vendor":"jenkins-ci","product":"org.jenkins-ci.plugins:script-security","ecosystem":"maven","affected":["org.jenkins-ci.plugins:script-security < 1402.1405.vc96e74964250"],"patched":["org.jenkins-ci.plugins:script-security 1402.1405.vc96e74964250"],"published":"2026-06-24","updated":"2026-09-25","sourceUpdated":"2026-09-25T18:05:01Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-c3jm-9vj7-5v66","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57280"},{"url":"https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3792"},{"url":"https://github.com/jenkinsci/script-security-plugin/commit/858015c25c7bc7ab59c666307093b0e16b90048c"},{"url":"https://github.com/jenkinsci/script-security-plugin/releases/tag/1402.1405.vc96e74964250"},{"url":"https://github.com/advisories/GHSA-c3jm-9vj7-5v66"}],"tags":["ghsa","maven"],"epss":0.00513,"epssPercentile":0.4116,"ingestedAt":"2026-09-25T18:14:20.397Z","slug":"CVE-2026-57280","body":"## Overview\n\nJenkins Script Security Plugin provides a sandbox feature that allows running user-provided scripts safely by intercepting and checking potentially unsafe operations.\n\nScript 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.\n\nThis 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.\n\nScript 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.\n\n## Affected packages\n\n- `org.jenkins-ci.plugins:script-security < 1402.1405.vc96e74964250`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `org.jenkins-ci.plugins:script-security 1402.1405.vc96e74964250`","depth":"twilight","depthScore":49,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}