Description
A sandbox bypass vulnerability exists in Script Security Plugin 1.49 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java that allows attackers with the ability to provide sandboxed scripts to execute arbitrary code on the Jenkins master JVM.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jenkins project | Script Security Plugin | 1.49 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 3
- 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.49/Declarative 1.3.4/Groovy 2.60 - Remote Code Execution EDB-46453 · webapps · Feb 25, 2019
- 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
GitHub 5 repositories
-
adamyordan/cve-2019-1003000-jenkins-rce-poc ★ 315 · Feb 15, 2019
Jenkins RCE Proof-of-Concept: SECURITY-1266 / CVE-2019-1003000 (Script Security), CVE-2019-1003001 (Pipeline: Groovy), CVE-2019-1003002 (Pipeline: Declarative)
-
wetw0rk/Exploit-Development ★ 83 · Apr 26, 2017
CVE-2020-8012, CVE-2016-10709, CVE-2017-17099, CVE-2017-18047, CVE-2019-1003000, CVE-2018-1999002
-
1NTheKut/CVE-2019-1003000_RCE-DETECTION ★ 4 · Apr 24, 2019
A C# module to detect if a Jenkins server is vulnerable to the RCE vulnerability found in CVE-2019-1003000 (chained with CVE-2018-1000861 for pre-auth RCE)
-
purple-WL/Jenkins_CVE-2019-1003000 ★ 1 · Feb 12, 2022
-
im23pds/CVE-2019-1003000-and-CVE-2018-1999002-Pre-Auth-RCE-Jenkins ★ 0 · Mar 6, 2019
Python CVE-2019-1003000 and CVE-2018-1999002 Pre-Auth RCE Jenkins
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Jenkins Script Security Plugin <=1.49 - Sandbox Bypass http/cves/2019/CVE-2019-1003000.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:script-security | < 1.50 | 1.50 | GHSA-784j-h234-m56x |
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
- 46453 exploit
- 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