GitHub Advisoryadvisory · Maven

GHSA-c3jm-9vj7-5v66 Jenkins Script Security Plugin sandbox bypass vulnerability

HIGH Published 2026-06-24 Modified 2026-09-25 Official page ↗
Aliases
CVE-2026-57280
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:script-security
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-693
Reviewed
2026-09-25

Affected packages

• Maven org.jenkins-ci.plugins:script-security: < 1402.1405.vc96e74964250 → fixed in 1402.1405.vc96e74964250

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-57280 Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not intercept the implicit type casts applied to the elements of typed… vulnerability

Weakness · CWE (1)

  • CWE-693 Protection Mechanism Failure weakness

References