CVE-2019-1003000: Compile-Time Groovy Sandbox Bypass in Jenkins Script Security Plugin
- Vendors
- Red HatJenkins
CVE-2019-1003000 is a sandbox bypass in Jenkins Script Security Plugin 1.49 and earlier that allows attackers who can supply sandboxed Groovy scripts to execute arbitrary code on the Jenkins controller JVM. Groovy compilation can invoke metaprogramming functionality before runtime sandbox checks apply. Vulnerable entry points include Pipeline syntax validation through doCheckScriptCompile(), which invokes GroovyClassLoader.parseClass(). Annotations such as @GrabResolver and @Grab can retrieve an attacker-controlled JAR during compilation; Groovy dependency processing can then instantiate a class declared as a Groovy Runner service, executing its constructor outside the runtime sandbox. Script validation alone can therefore trigger code execution without normal Pipeline execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the Jenkins controller within the privileges of its operating-system service account. Attackers can execute commands, access or modify controller-accessible data, and deploy additional malware. Jenkins-held credentials and access to connected infrastructure may enable further compromise, depending on the controller's permissions and configuration. The vulnerability has been exploited in cryptocurrency-mining campaigns, including activity involving Kerberods and Rocke.
Mitigation
If you can’t patch tonight, do this now.
Until updates are applied, restrict the ability to submit or modify Groovy scripts and Pipeline configurations to fully trusted users. Limit network access to Jenkins and its script-validation interfaces. Restrict controller outbound access to untrusted dependency repositories to reduce exposure to the malicious-JAR retrieval technique; this does not eliminate all compile-time exploitation paths. Review job configuration changes, unexpected builds, and audit records for suspicious activity. Run Jenkins with least-privilege operating-system permissions to limit the consequences of exploitation.
Remediation
Patch, then assume compromise.
Upgrade Jenkins Script Security Plugin to a current supported release; version 1.50 introduced the initial fix for the affected versions. Apply coordinated updates to installed Pipeline plugins: the January 2019 fixes included Pipeline: Groovy 2.61.1 and Pipeline: Declarative 1.3.4.1. Prefer current supported releases rather than stopping at these historical minimums, because additional vulnerable entry points and sandbox bypasses were subsequently identified.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-1003000 exploited in the wild?
- Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2019-1003000?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2019-1003000, the earliest disclosed Apr 26, 2017.
- Is there a patch for CVE-2019-1003000?
- Upgrade Jenkins Script Security Plugin to a current supported release; version 1.50 introduced the initial fix for the affected versions. Apply coordinated updates to installed Pipeline plugins: the January 2019 fixes included Pipeline: Groovy 2.61.1 and Pipeline: Declarative 1.3.4.1.
- What products are affected by CVE-2019-1003000?
- Jenkins Script Security and Red Hat Openshift Container Platform.
- How severe is CVE-2019-1003000?
- CVE-2019-1003000 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 98.4% (100th percentile) as of Nov 25, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.