CVE-2019-1003024
Jenkins Script Security Plugin sandbox bypass vulnerability
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
- Record
CVE-2019-1003024- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
- Record
CVE-2019-1003024- Updated
- 2026-11-02
EUVDEUVD-2022-4362 No score
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
- Record
EUVD-2022-4362- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jgpm-2862-q5m8
8.8
Jenkins Script Security Plugin sandbox bypass vulnerability
The previously implemented script security sandbox protections prohibiting the use of unsafe AST transforming annotations such as @Grab (2019-01-08 fix for SECURITY-1266) could be circumvented through use of various Groovy language features:
- Use of
AnnotationCollector - Import aliasing
- Referencing annotation types using their full class name
This allowed users with Overall/Read permission, or the ability to control Jenkinsfile or sandboxed Pipeline shared library contents in SCM, to bypass the sandbox protection and execute arbitrary code on the Jenkins controller.
Using AnnotationCollector is now newly prohibited in sandboxed scripts such as Pipelines. Importing any of the annotations considered unsafe will now result in an error. During the compilation phase, both simple and full class names of prohibited annotations are rejected for element annotations.
- Record
GHSA-jgpm-2862-q5m8- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
8.8
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
- Record
CVE-2019-1003024- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-jgpm-2862-q5m8
8.8
Jenkins Script Security Plugin sandbox bypass vulnerability
The previously implemented script security sandbox protections prohibiting the use of unsafe AST transforming annotations such as @Grab (2019-01-08 fix for SECURITY-1266) could be circumvented through use of various Groovy language features:
- Use of
AnnotationCollector - Import aliasing
- Referencing annotation types using their full class name
This allowed users with Overall/Read permission, or the ability to control Jenkinsfile or sandboxed Pipeline shared library contents in SCM, to bypass the sandbox protection and execute arbitrary code on the Jenkins controller.
Using AnnotationCollector is now newly prohibited in sandboxed scripts such as Pipelines. Importing any of the annotations considered unsafe will now result in an error. During the compilation phase, both simple and full class names of prohibited annotations are rejected for element annotations.
- Record
GHSA-jgpm-2862-q5m8- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2019:0739
8.8
Red Hat Security Advisory: Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins security update
- Record
RHSA-2019:0739- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.plugins:script-securityMaven |
through 1.52 | 1.53 |
org.jenkins-ci.plugins:script-securityMaven |
before 1.53, plus listed versions 1.01.0-beta-11.0-beta-21.0-beta-31.0-beta-4 Show 45 moreShow less1.0-beta-51.0-beta-61.11.101.111.121.131.141.151.161.171.181.18.11.191.21.201.211.221.231.241.251.261.271.281.291.29.11.31.301.311.331.341.351.361.371.381.391.41.401.411.421.431.441.44.11.451.46 |
1.53 |
jenkins-2-pluginsRed Hat:openshift:3.11::el7 From an advisory covering 6 CVEs |
before 0:3.11.1552336312-1.el7 | 0:3.11.1552336312-1.el7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-1003024 is a high vulnerability (CVSS 8.8) in Jenkins Script Security, published February 20, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.07%, the 87th percentile. Fixed in org.jenkins-ci.plugins:script-security 1.53.
References
jenkins.io/security/advisory/2019-02-19
securityfocus.com/bid/107295
access.redhat.com/errata/RHSA-2019:0739
nvd.nist.gov/vuln/detail/CVE-2019-1003024
web.archive.org/web/20200227084947/http://www.securityfocus.com/bid/107295
github.com/jenkinsci/script-security-plugin/commit/3228c88e84f0b2f24845b6466cae35617e082059
Show 29 moreShow less
github.com/advisories/GHSA-jgpm-2862-q5m8
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1670283
bugzilla.redhat.com/show_bug.cgi?id=1684556
bugzilla.redhat.com/show_bug.cgi?id=1689873
bugzilla.redhat.com/show_bug.cgi?id=1689886
bugzilla.redhat.com/show_bug.cgi?id=1690663
bugzilla.redhat.com/show_bug.cgi?id=1690665
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_0739.json
access.redhat.com/security/cve/CVE-2019-1003005
cve.org/CVERecord?id=CVE-2019-1003005
nvd.nist.gov/vuln/detail/CVE-2019-1003005
jenkins.io/security/advisory/2019-01-28
access.redhat.com/security/cve/CVE-2019-1003024
cve.org/CVERecord?id=CVE-2019-1003024
access.redhat.com/security/cve/CVE-2019-1003029
cve.org/CVERecord?id=CVE-2019-1003029
nvd.nist.gov/vuln/detail/CVE-2019-1003029
jenkins.io/security/advisory/2019-03-06
cisa.gov/known-exploited-vulnerabilities-catalog
access.redhat.com/security/cve/CVE-2019-1003030
cve.org/CVERecord?id=CVE-2019-1003030
nvd.nist.gov/vuln/detail/CVE-2019-1003030
access.redhat.com/security/cve/CVE-2019-1003031
cve.org/CVERecord?id=CVE-2019-1003031
nvd.nist.gov/vuln/detail/CVE-2019-1003031
access.redhat.com/security/cve/CVE-2019-1003034
cve.org/CVERecord?id=CVE-2019-1003034
nvd.nist.gov/vuln/detail/CVE-2019-1003034
Left out here: 12 versions. The JSON record has them.