# CVE-2018-1000866: Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass

- Severity: High 8.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.64%, higher than 77% of CVEs (2026-12-01)
- Published: 2018-12-10T14:00:00.000Z
- Modified: 2026-06-17T01:33:12.610Z
- Also known as: GHSA-gqhm-4h93-rrhg
- Weaknesses: CWE-269
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.jenkins-ci.plugins.workflow:workflow-cps (Maven): before 2.60
- org.jenkins-ci.plugins:script-security (Maven): before 1.48
- jenkins pipeline:_groovy: up to 2.59
- redhat openshift_container_platform: 3.11

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://jenkins.io/security/advisory/2018-10-29/#SECURITY-1186> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHBA-2019:0326> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHBA-2019:0327> (third-party-advisory, 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)

## Sources

- CVE List: [CVE-2018-1000866](https://www.cve.org/CVERecord?id=CVE-2018-1000866), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-gqhm-4h93-rrhg](https://github.com/advisories/GHSA-gqhm-4h93-rrhg), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2018-1000866](https://nvd.nist.gov/vuln/detail/CVE-2018-1000866), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1000866 · Whole record: https://cve.day/CVE-2018-1000866.json · Rebuilt by cve.day 2026-11-25T22:57:41.186Z
