{"id":"CVE-2019-1003001","aliases":["CVE-2019-1003001","GHSA-6q78-6xvr-26fg"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Groovy Plugin sandbox bypass vulnerability","summary":"A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition.java, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShellFactory.java that allows attackers with Overall/Read permission to provide a pipeline script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition.java, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShellFactory.java that allows attackers with Overall/Read permission to provide a pipeline script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.","source":"cvelist"},{"lang":"en","text":"Jenkins Script Security sandbox protection could be circumvented during the script compilation phase by applying AST transforming annotations such as `@Grab` to source code elements.\n\nBoth the pipeline validation REST APIs and actual script/pipeline execution are affected.\n\nThis allowed users with Overall/Read permission, or able to control Jenkinsfile or sandboxed Pipeline shared library contents in SCM, to bypass the sandbox protection and execute arbitrary code on the Jenkins controller.\n\nAll known unsafe AST transformations in Groovy are now prohibited in sandboxed scripts.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una vulnerabilidad de omisión de sandbox en Pipeline: el plugin Groovy, en la versión 2.61 y anteriores, en src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition.java y src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShellFactory.java permite a los atacantes con permisos de \"Overall/Read\" proporcionar un script \"pipeline\" a un endpoint HTTP que puede resultar en la ejecución de código arbitrario enla máquina virtual de Java maestra de Jenkins.","source":"nvd"}],"published":"2019-01-22T14:00:00.000Z","modified":"2026-06-17T02:09:30.980Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/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.1","vector":"CVSS:3.1/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.1","vector":"CVSS:3.1/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":[],"affected":[{"ranges":[{"version":"2.61 and earlier","status":"affected"}],"vendor":"Jenkins project","product":"Pipeline: Groovy Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.61.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins.workflow:workflow-cps-parent","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-parent","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.4.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:pipeline-model-definition","purl":"pkg:maven/org.jenkins-ci.plugins/pipeline-model-definition","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.50"}],"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.61"}],"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/2019-01-08/#SECURITY-1266","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":"http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.exploit-db.com/exploits/46572/","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-exploit-db","x-transferred"],"sources":["cvelist","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-2019-1003001","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/6d7884dec610bf34503d24d494d994e9fc607642","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/script-security-plugin/commit/2c5122e50742dd16492f9424992deb21cc07837c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/workflow-cps-plugin/commit/66c3e7aafe7888d4e1fe9995a688bb3fb742d742","tags":["web"],"sources":["ghsa"]},{"url":"https://www.exploit-db.com/exploits/46572","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-1003001","url":"https://www.cve.org/CVERecord?id=CVE-2019-1003001","licence":"CVE Terms of Use","modified":"2024-08-05T03:00:19.299Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6q78-6xvr-26fg","url":"https://github.com/advisories/GHSA-6q78-6xvr-26fg","licence":"CC-BY-4.0","modified":"2024-12-02T05:47:05.697Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-1003001","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1003001","licence":"Public domain","modified":"2026-06-17T02:09:30.980Z"}],"updatedAt":"2026-11-25T22:57:43.662Z","epss":{"score":0.86054,"percentile":0.9973,"date":"2026-12-01T12:00:22.000Z"}}