Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins/script-security
  4. ›
  5. CVE-2026-57280

CVE-2026-57280: Jenkins Script Security Plugin sandbox bypass vulnerability

June 24, 2026 (updated September 25, 2026)

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

  • github.com/advisories/GHSA-c3jm-9vj7-5v66
  • github.com/jenkinsci/script-security-plugin/commit/858015c25c7bc7ab59c666307093b0e16b90048c
  • github.com/jenkinsci/script-security-plugin/releases/tag/1402.1405.vc96e74964250
  • nvd.nist.gov/vuln/detail/CVE-2026-57280
  • www.jenkins.io/security/advisory/2026-06-24/

Code Behaviors & Features

Detect and mitigate CVE-2026-57280 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1402.1405.0

Fixed versions

  • 1402.1405.0

Solution

Upgrade to version 1402.1405.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure

Source file

maven/org.jenkins-ci.plugins/script-security/CVE-2026-57280.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 Oct 2026 12:18:51 +0000.