Description
A sandbox bypass vulnerability exists in Pipeline: Declarative Plugin 1.3.3 and earlier in pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jenkins project | Pipeline: Declarative Plugin | 1.3.3 and earlier | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 3 | atomic-enterprise-service-catalog +1 | 1:3.11.82-1.git.1673.133961e.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift +12 | 3.11.82-1.git.0.08bc31b.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift-cluster-autoscaler | 3.11.82-1.git.0.efb6af0.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift-descheduler | 3.11.82-1.git.300.89765c9.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift-dockerregistry | 3.11.82-1.git.452.0ce6383.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift-metrics-server | 3.11.82-1.git.52.2fdca3f.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift-node-problem-detector | 3.11.82-1.git.254.a448936.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift-service-idler | 3.11.82-1.git.14.e353758.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | atomic-openshift-web-console | 3.11.82-1.git.355.5e8b1d9.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | golang-github-openshift-oauth-proxy | 3.11.82-1.git.425.7cac034.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | haproxy +1 | 1.8.17-3.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | jenkins | 2.150.2.1549032159-1.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | jenkins-2-plugins | 3.11.1549642489-1.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | openshift-ansible +4 | 3.11.82-3.git.0.9718d0a.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | openshift-enterprise-autoheal | 3.11.82-1.git.219.0b5aff4.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | openshift-enterprise-cluster-capacity | 3.11.82-1.git.380.cf11c51.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | prometheus +1 | 3.11.82-1.git.5027.9d24833.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | prometheus-alertmanager +1 | 3.11.82-1.git.0.3bf41ce.el7 | RHBA-2019:0326 |
| Red Hat OpenShift 3 | prometheus-node-exporter +1 | 3.11.82-1.git.1063.48444e8.el7 | RHBA-2019:0326 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Jenkins ACL Bypass and Metaprogramming RCE
exploit/multi/http/jenkins_metaprogramming
Exploit-DB 2
- Jenkins 2.137 and Pipeline Groovy Plugin 2.61 - ACL Bypass and Metaprogramming Remote Code Execution (Metasploit) EDB-46572 · remote · Mar 19, 2019 · verified
- Jenkins Plugin Script Security < 1.50/Declarative < 1.3.4.1/Groovy < 2.61.1 - Remote Code Execution (PoC) EDB-46427 · webapps · Feb 19, 2019 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkinsci.plugins:pipeline-model-definition | < 1.3.4.1 | 1.3.4.1 | GHSA-x6jx-cxg3-mggh |
Advisories 1
- RHBA-2019:0326 Red Hat Bug Fix Advisory: OpenShift Container Platform 3.11 bug fix update Red Hat Security Advisories (RHSA) · Aug 5, 2026
References
- https://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266
- RHBA-2019:0326 vendor-advisory
- http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming
- 46572 exploit
- RHBA-2019:0327 vendor-advisory