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

CVE-2026-57281: Jenkins Script Security Plugin has a script security bypass vulnerability

June 24, 2026 (updated September 25, 2026)

Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not reject Groovy AST transformation annotations such as @CompileStatic and @TypeChecked that carry an extensions member, which causes Groovy to load and execute a script from the classpath at compile time, before the sandbox is applied.

This may allow attackers able to define and run sandboxed scripts to execute code outside the sandbox, in the rare case that a suitable Groovy script is present on the classpath of the component that evaluates the script.

The Jenkins security team has been unable to identify any Groovy source files in Jenkins core or plugins that would allow attackers to execute dangerous code. While the severity of this issue is declared as High due to the potential impact, successful exploitation is considered very unlikely.

Script Security Plugin 1402.1405.vc96e74964250 rejects any annotation carrying an extensions member during sandbox compilation, before Groovy can resolve or execute the referenced script.

References

  • access.redhat.com/errata/RHSA-2026:60239
  • access.redhat.com/errata/RHSA-2026:60246
  • access.redhat.com/errata/RHSA-2026:60247
  • access.redhat.com/errata/RHSA-2026:60248
  • access.redhat.com/errata/RHSA-2026:60249
  • access.redhat.com/errata/RHSA-2026:60250
  • access.redhat.com/errata/RHSA-2026:60251
  • access.redhat.com/errata/RHSA-2026:60252
  • access.redhat.com/errata/RHSA-2026:60254
  • access.redhat.com/errata/RHSA-2026:60256
  • access.redhat.com/errata/RHSA-2026:60259
  • access.redhat.com/security/cve/CVE-2026-57281
  • bugzilla.redhat.com/show_bug.cgi?id=2492200
  • github.com/advisories/GHSA-cfj9-2vgr-hpxp
  • github.com/jenkinsci/script-security-plugin/commit/c96e7496425031182b6fc11ef1c55b9ae4fa7cc2
  • github.com/jenkinsci/script-security-plugin/releases/tag/1402.1405.vc96e74964250
  • nvd.nist.gov/vuln/detail/CVE-2026-57281
  • security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57281.json
  • www.jenkins.io/security/advisory/2026-06-24/

Code Behaviors & Features

Detect and mitigate CVE-2026-57281 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 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')

Source file

maven/org.jenkins-ci.plugins/script-security/CVE-2026-57281.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:42 +0000.