Skip to content
OpenAdvisories
Critical · 9.9 Known exploited Scanner template Public exploit CVE-2019-1003030 EUVD-2022-5117GHSA-r6mc-mrvr-23cr

Sandbox bypass in Jenkins Pipeline: Groovy Plugin

Published Mar 8, 2019 · Updated Oct 21, 2025 · Assigned by jenkins

Description

A sandbox bypass vulnerability exists in Jenkins Pipeline: Groovy Plugin 2.63 and earlier in pom.xml, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShell.java that allows attackers able to control pipeline scripts to execute arbitrary code on the Jenkins master JVM.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Pipeline: Groovy Plugin 2.63 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.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1552336312-1.el7 RHSA-2019:0739

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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 2 repositories

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.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins.workflow:workflow-cps < 2.64 2.64 GHSA-r6mc-mrvr-23cr

Advisories 1

References