CVE-2026-57281
JSON

7.5high

Jenkins Script Security Plugin has a script security bypass vulnerability

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.92% (higher than 59% of CVEs)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-cfj9-2vgr-hpxp

Description

Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not reject Groovy AST transformation annotations carrying an extensions member, allowing attackers able to run sandboxed Groovy scripts to execute code outside the sandbox if a suitable script is present on the classpath of the component that evaluates the script.

Affected

Product or packageVersionsReported by
Jenkins Project Jenkins Script Security Pluginup to 1402.v94c9ce464861CVE List
ocp-tools-4/jenkins-rhel8Not specified
Not affected: from 1786628667 before *, from 1786628681 before *, from 1786533561 before *, from 1786533565 before *
CVE List
ocp-tools-4/jenkins-rhel9Not specified
Not affected: from 1787125166 before *, from 1787124635 before *, from 1787125069 before *, from 1787124632 before *, from 1787124925 before *, from 1787125311 before *
CVE List
jenkinsNot specifiedCVE List
jenkins-2-pluginsNot specifiedCVE List
org.jenkins-ci.plugins:script-security (Maven)before 1402.1405.vc96e74964250GitHub Advisory Database
jenkins script_securityup to 1402.v94c9ce464861NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat-SADP8.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-93CWE-693CWE-917

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Jenkins Script Security Plugin 1402.v94c9ce464861 and earlier does not reject Groovy AST transformation annotations carrying an extensions member, allowing attackers able to run sandboxed Groovy scripts to execute code outside the sandbox if a suitable script is present on the classpath of the component that evaluates the script.

GitHub Advisory Database

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.

NVD (es)

Jenkins Script Security Plugin 1402.v94c9ce464861 y anteriores no rechaza las anotaciones de transformación AST de Groovy que contienen un miembro extensions, permitiendo a los atacantes capaces de ejecutar scripts Groovy en un sandbox ejecutar código fuera del sandbox si un script adecuado está presente en el classpath del componente que evalúa el script.

References

https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3793vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-57281vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2492200issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57281.jsonweb
https://access.redhat.com/errata/RHSA-2026:60247vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60249vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60248vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60239vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60251vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60246vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60250vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60252vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2026-57281 changed 2026-09-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-cfj9-2vgr-hpxp changed 2026-09-25CC-BY-4.0
NVDCVE-2026-57281 changed 2026-10-25Public domain