CVE-2018-1000866
HIGH 8.8CVSS 3.0Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass
A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.59 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java, groovy-cps/lib/src/main/java/com/cloudbees/groovy/cps/SandboxCpsTransformer.java that allows attackers with Job/Configure permission, or unauthorized attackers with SCM commit privileges and corresponding pipelines based on Jenkinsfiles set up in Jenkins, to execute arbitrary code on the Jenkins master JVM
- Published
- 10 Dec 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- GHSA-gqhm-4h93-rrhg
- Sources
- NVDJSONOSV GHSA-gqhm-4h93-rrhgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | pipeline:_groovycpe:2.3:a:jenkins:pipeline\:_groovy:*:*:*:*:*:jenkins:*:* |
<= 2.59 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:* |
= 3.11 | |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps | < 2.60 | 2.60 |
| OSV | Maven | org.jenkins-ci.plugins:script-security | < 1.48 | 1.48 |
References
- https://access.redhat.com/errata/RHBA-2019:0326 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHBA-2019:0327 · Third Party Advisory, WEB
- https://jenkins.io/security/advisory/2018-10-29/#SECURITY-1186 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000866 · ADVISORY
- https://github.com/jenkinsci/script-security-plugin/commit/16c862ae9d4038a3edbd8bdfb0fd1401a509d56b · WEB
- https://github.com/jenkinsci/workflow-cps-plugin/commit/0eb89aaf24065dbbdf6db84516ac1a52cd435e6d · WEB
- https://github.com/jenkinsci/workflow-cps-plugin/commit/e1c56eb6d85d513cb24dfe188e6f592d0ff84b38 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 10 Dec 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)