{"id":"CVE-2018-1000866","aliases":["CVE-2018-1000866","GHSA-gqhm-4h93-rrhg"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de omisión del sandbox en Pipeline: Groovy Plugin 2.59 y anteriores en groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java y groovy-cps/lib/src/main/java/com/cloudbees/groovy/cps/SandboxCpsTransformer.java que permite que los atacantes con el permiso Job/Configure, o atacantes no autorizados con privilegios del commit SCM y las pipelines basadas en Jenkinsfiles establecidas en Jenkins, ejecuten código arbitrario en el maestro JVM de Jenkins.","source":"nvd"}],"published":"2018-12-10T14:00:00.000Z","modified":"2026-06-17T01:33:12.610Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.60"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins.workflow:workflow-cps","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.48"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:script-security","purl":"pkg:maven/org.jenkins-ci.plugins/script-security","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.59"}],"vendor":"jenkins","product":"pipeline:_groovy","cpe":"cpe:2.3:a:jenkins:pipeline\\:_groovy:*:*:*:*:*:jenkins:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.11"}],"vendor":"redhat","product":"openshift_container_platform","cpe":"cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://jenkins.io/security/advisory/2018-10-29/#SECURITY-1186","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0326","tags":["third-party-advisory","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0327","tags":["third-party-advisory","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000866","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/script-security-plugin/commit/16c862ae9d4038a3edbd8bdfb0fd1401a509d56b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/workflow-cps-plugin/commit/0eb89aaf24065dbbdf6db84516ac1a52cd435e6d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/workflow-cps-plugin/commit/e1c56eb6d85d513cb24dfe188e6f592d0ff84b38","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-1000866","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000866","licence":"CVE Terms of Use","modified":"2024-08-05T12:47:56.163Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gqhm-4h93-rrhg","url":"https://github.com/advisories/GHSA-gqhm-4h93-rrhg","licence":"CC-BY-4.0","modified":"2024-02-16T08:05:23.464Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-1000866","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000866","licence":"Public domain","modified":"2026-06-17T01:33:12.610Z"}],"updatedAt":"2026-11-25T22:57:41.186Z","epss":{"score":0.01639,"percentile":0.77072,"date":"2026-12-01T12:00:22.000Z"}}