Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2019-1003000: Compile-Time Groovy Sandbox Bypass in Jenkins Script Security Plugin

Published Jan 22, 2019 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS98.4%100th percentile
CISA KEVNoNot listed
In the wildReported7 exploitation records in Mallory
Vendors
Red HatJenkins
IdentifiersCVE-2019-1003000CWE-94

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

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.

View more in app →
jenkins_metaprogramming.rbThis repository contains a Metasploit module (jenkins_metaprogramming.rb) that exploits multiple vulnerabilities in Jenkins (CVE-2018-1000861, CVE-2019-1003000, CVE-2019-1003001, CVE-2019-1003002, CVE-2019-1003005, CVE-2019-1003029) to achieve unauthenticated remote code execution (RCE) by bypassing the Overall/Read ACL and leveraging Groovy metaprogramming. The exploit targets Jenkins version 2.137 and below, specifically when the Pipeline: Groovy Plugin 2.61 is installed. It provides two main attack vectors: (1) Unix In-Memory, which executes arbitrary shell commands in memory, and (2) Java Dropper, which delivers and executes a malicious JAR file via Groovy's @Grab annotation. The module is highly weaponized, allowing the attacker to select payloads (reverse shell, Meterpreter, etc.) and automatically handles the delivery and execution of the payload. The main endpoints targeted are Jenkins HTTP API routes related to user search and Groovy script compilation. The code is structured as a typical Metasploit module, with clear separation of check, exploit, and payload delivery logic.Disclosed Jan 8, 2019 · Framework: metasploit · ruby · networkWeaponizedExploit-DevelopmentThis repository is a comprehensive collection of exploit and proof-of-concept (PoC) code targeting a variety of vulnerabilities across multiple platforms and products. The structure is organized into directories for HEVD (HackSysExtremeVulnerableDriver) kernel exploits (covering stack overflow, use-after-free, arbitrary write, type confusion, race condition, and stack overflow with GS), Metasploit modules (for erlang cookie RCE, pfSense graph injection, SyncBreeze buffer overflow), personal exploits (for DELL EMC OneFS, Nimsoft nimcontroller, SyncBreeze, Sysdig Monitor, VXSearch), and ported exploits (for Oracle 9i XDB, Allied Telesyn AT-TFTP, LabF nfsAxe, Jenkins, Allok AVI, MySQL UDF, and WebDAV). The main capabilities include local and remote privilege escalation, remote code execution, and information disclosure. The exploits use a variety of payloads, including custom shellcode, msfvenom-generated payloads, and ROP chains, and target both local and network attack vectors. Notable fingerprintable endpoints include device handles (e.g., \\.\HackSysExtremeVulnerableDriver), HTTP/FTP services, and specific file paths (e.g., .zshrc for persistence). The repository demonstrates advanced exploitation techniques and is suitable for research, education, and penetration testing purposes.wetw0rk · Disclosed Apr 26, 2017 · c · python · local · network · httpOperationalcve-2019-1003000-jenkins-rce-pocThis repository is a proof-of-concept (PoC) exploit for multiple Jenkins vulnerabilities (CVE-2019-1003000, CVE-2019-1003001, CVE-2019-1003002) that allow an attacker with Overall/Read and Job/Configure permissions to bypass the Groovy sandbox and execute arbitrary code on the Jenkins master or node. The main exploit is implemented in 'exploit.py', a Python script that connects to a target Jenkins instance using the 'python-jenkins' library, modifies a pipeline job to inject a malicious Groovy script, triggers a build, and retrieves the output of the executed system command from the job's console output. The payload leverages Groovy's AST transformation annotations (specifically '@Grab') to import the 'ProcBuilder' class from an external Maven repository, enabling execution of arbitrary shell commands. The repository also includes a sample vulnerable Jenkins environment under 'sample-vuln', which can be used for local testing. The exploit demonstrates full remote code execution (RCE) capabilities and can be used to run any system command, including spawning a reverse shell. The attack vector is network-based, targeting Jenkins HTTP endpoints. The repository is well-structured, with clear documentation and usage instructions in the README.adamyordan · Disclosed Feb 15, 2019 · python · groovy · networkPoC
Exposure surface

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.

VendorProductType
JenkinsScript Securityapplication
Red HatOpenshift Container Platformapplication
FAQ

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.
Activity feed

Recent activity

10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
nuclei templates pull requestsNews · Nov 23, 2026Add CVE-2019-1003029 - Jenkins Script Security Plugin <=1.53 - Sandbox Bypass via Script Instantiation by ArjunSecurin · Pull Request #18048 · projectdiscovery/nuclei-templatesUnknownRead more ↗starlog blogNews · May 13, 2026How a Groovy Annotation Bypassed Jenkins' Security Sandbox: Dissecting CVE-2019-1003000 | StarlogA Jenkins Groovy sandbox bypass allowing compilation-time AST transformations, particularly the @Grab annotation, to execute code outside runtime sandbox controls. The article describes an available proof of concept that uses valid credentials with Overall/Read and Job/Configure permissions to modify a pipeline and execute commands with Jenkins permissions. It lists Script Security Plugin versions below 1.50, Pipeline: Groovy Plugin versions below 2.61.1, and Pipeline: Declarative Plugin versions below 1.3.4.1 as vulnerable, with patches released in January 2019.Read more ↗nuclei templates pull requestsNews · Apr 7, 2026fix: other templates with invalid CPE format by gnuletik · Pull Request #15828 · projectdiscovery/nuclei-templates · GitHubReferenced only as a nuclei template whose CPE format was corrected by replacing empty fields.Read more ↗nuclei templates pull requestsNews · Mar 31, 2026fix: templates with invalid CPE formats by gnuletik · Pull Request #15751 · projectdiscovery/nuclei-templates · GitHubSpecific vulnerability template referenced in a nuclei-templates pull request for CPE format correction.Read more ↗
+6 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence2Every report linking this CVE to a named adversary.
Associated malware6Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.