Vulnerability record · CVE-2019-1003000 · published 22 January 2019
CVE-2019-1003000: Jenkins Script Security Plugin sandbox bypass allows code execution
Jenkins · Script Security
The Jenkins Script Security Plugin 1.49 and earlier fails to properly restrict Groovy sandboxed scripts in GroovySandbox.java, letting a user who can supply a sandboxed script break out of the sandbox. Because Jenkins scripts are commonly used in build pipelines, this flaw undermines the isolation that is supposed to keep untrusted script authors from touching the Jenkins master.
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityThe flaw gives authenticated low-privilege users remote code execution on the Jenkins master, and public exploit code plus a very high EPSS score make exploitation likely despite no KEV listing.
What it is
The Jenkins Script Security Plugin 1.49 and earlier fails to properly restrict Groovy sandboxed scripts in GroovySandbox.java, letting a user who can supply a sandboxed script break out of the sandbox. Because Jenkins scripts are commonly used in build pipelines, this flaw undermines the isolation that is supposed to keep untrusted script authors from touching the Jenkins master.
Impact
An attacker with the ability to provide sandboxed scripts can execute arbitrary code on the Jenkins master JVM, gaining full control of the Jenkins controller and any credentials or jobs it holds.
Attack surface
Reached over the network through Jenkins script submission paths such as build pipeline or script console features; the CVSS vector indicates low privileges are required and no user interaction.
Exploitation
CISA KEV does not list this CVE, but EPSS is very high (0.98375, 99.9th percentile) and multiple references are tagged Exploit, including Exploit-DB and a Rapid7 Metasploit module, so public exploit code exists.
What to do
- Upgrade the Jenkins Script Security Plugin to a version later than 1.49, following the vendor advisory SECURITY-1266.
- Apply the Red Hat errata RHBA-2019:0326 and RHBA-2019:0327 for OpenShift Container Platform deployments that bundle the affected plugin.
- Restrict who can submit scripts or use the script console, and review Jenkins authorization settings to limit low-privilege script access.
- If immediate upgrade is not possible, disable or tightly gate script-based features and monitor for unexpected Groovy execution.
Detection
- Monitor Jenkins logs for script console or pipeline script submissions from unexpected users or IPs.
- Alert on child processes spawned by the Jenkins master JVM, especially shells or interpreters not normally used by builds.
- Watch for outbound connections from the Jenkins controller to unfamiliar hosts that could indicate post-exploitation activity.
- Audit Jenkins user accounts and API tokens for newly created or modified privileged accounts.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2019-1003000 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-1003000), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.