---
id: CVE-2026-57281
aliases:
  - GHSA-cfj9-2vgr-hpxp
title: Jenkins Script Security Plugin has a script security bypass vulnerability
summary: Jenkins Script Security Plugin has a script security bypass vulnerability
severity: high
cvss: 7.5
cwe:
  - CWE-93
  - CWE-917
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:06:02Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-cfj9-2vgr-hpxp'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-57281'
  - url: 'https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3793'
  - url: 'https://access.redhat.com/security/cve/CVE-2026-57281'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2492200'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57281.json
  - url: 'https://access.redhat.com/errata/RHSA-2026:60239'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60246'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60247'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60248'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60249'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60250'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60251'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60252'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60254'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60256'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60259'
  - url: >-
      https://github.com/jenkinsci/script-security-plugin/commit/c96e7496425031182b6fc11ef1c55b9ae4fa7cc2
  - url: >-
      https://github.com/jenkinsci/script-security-plugin/releases/tag/1402.1405.vc96e74964250
  - url: 'https://github.com/advisories/GHSA-cfj9-2vgr-hpxp'
tags:
  - ghsa
  - maven
epss: 0.00923
epssPercentile: 0.58685
ingestedAt: '2026-09-25T18:14:20.394Z'
---

## Overview

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.

## Affected packages

- `org.jenkins-ci.plugins:script-security < 1402.1405.vc96e74964250`

## Remediation

Upgrade to a patched release:

- `org.jenkins-ci.plugins:script-security 1402.1405.vc96e74964250`
