Jenkins project Jenkins Pipeline: Groovy Plugin
Jenkins Matrix Project Plugin Remote Code Execution Vulnerability
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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- < 2.64
Fixed in 2.64
from GitHub Security Advisory GHSA-r6mc-mrvr-23cr
Mitigation
Upgrade org.jenkins-ci.plugins.workflow:workflow-cps to 2.64 or later.
Timeline
Days relative to CVE publicationFirst public PoC 1.6 years after publication; added to CISA KEV 3.0 years after publication. First PoC: Jenkins 2.63 - Sandbox bypass in pipeline: Groovy plug-in (Exploit-DB, 19 Oct 2020).
PoC repositories
Found on GitHub.3 PoCs
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Cashiuus/jenkins-checkscript-rce | 24 Nov 2021 +2.7 y | 0 | PoC |
| overgrowncarrot1/CVE-2019-1003030 | 1 Mar 2025 +6.0 y | 1 | PoC |
| cyberbelly/PoC-CVE-2019-1003030 | 11 Jul 2026 +7.3 y | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Jenkins 2.63 - Sandbox bypass in pipeline: Groovy plug-in | 19 Oct 2020 | 14 Nov 2026 |
| nuclei template | nuclei template: Jenkins Pipeline Groovy Plugin <=2.63 - Insecure Deserialization | 17 Aug 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposGET /crumbIssuer/api/json
POST /descriptorByName/org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript/checkScript/
- Key headers
Jenkins-Crumb: 2dfbaca9596a1bcbcf54a1101591e827- Body markers
sandbox=Truevalue=class abcd{{abcd(){{def proc="value=class abcd{abcd()inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: Cashiuus/jenkins-checkscript-rce
- Evidence
- Cashiuus/jenkins-checkscript-rce/jenkins-checkscript-rce.py:97 Cashiuus/jenkins-checkscript-rce/jenkins-checkscript-rce.py:15
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/crumbIssuer/api/json(?:[?#].*)?$
(?i)^/descriptorByName/org\.jenkinsci\.plugins\.scriptsecurity\.sandbox\.groovy\.SecureGroovyScript/checkScript/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2019-1003030 Jenkins project Jenkins Pipeline: Groovy Plugin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/crumbIssuer/api/json"; reference:url,poc.griffinguard.io/cve/CVE-2019-1003030; classtype:web-application-attack; sid:9823071; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2019-1003030 Jenkins project Jenkins Pipeline: Groovy Plugin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/descriptorByName/org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript/checkScript/"; http.header; content:"Jenkins-Crumb: 2dfbaca9596a1bcbcf54a1101591e827"; nocase; http.request_body; content:"sandbox=True"; http.request_body; content:"value=class abcd{{abcd(){{def proc=|22|"; http.request_body; content:"value=class abcd{abcd()"; reference:url,poc.griffinguard.io/cve/CVE-2019-1003030; classtype:web-application-attack; sid:9854806; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Jenkins project Jenkins Pipeline: Groovy Plugin exploit attempt (CVE-2019-1003030)
id: gg-pocmon-cve-2019-1003030-9823071
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-1003030. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-1003030
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/crumbIssuer/api/json'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2019.1003030
title: Jenkins project Jenkins Pipeline: Groovy Plugin exploit attempt (CVE-2019-1003030)
id: gg-pocmon-cve-2019-1003030-9854806
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-1003030. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-1003030
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/descriptorByName/org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript/checkScript/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2019.1003030