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 package | Versions | Reported by |
|---|---|---|
| Jenkins Project Jenkins Script Security Plugin | up to 1402.v94c9ce464861 | CVE List |
| ocp-tools-4/jenkins-rhel8 | Not specified Not affected: from 1786628667 before *, from 1786628681 before *, from 1786533561 before *, from 1786533565 before * | CVE List |
| ocp-tools-4/jenkins-rhel9 | Not specified Not affected: from 1787125166 before *, from 1787124635 before *, from 1787125069 before *, from 1787124632 before *, from 1787124925 before *, from 1787125311 before * | CVE List |
| jenkins | Not specified | CVE List |
| jenkins-2-plugins | Not specified | CVE List |
| org.jenkins-ci.plugins:script-security (Maven) | before 1402.1405.vc96e74964250 | GitHub Advisory Database |
| jenkins script_security | up to 1402.v94c9ce464861 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-57281 changed 2026-09-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cfj9-2vgr-hpxp changed 2026-09-25 | CC-BY-4.0 |
| NVD | CVE-2026-57281 changed 2026-10-25 | Public domain |