CVE-2022-30945
Sandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Jenkins Pipeline: Groovy Plugin
Jenkins Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier allows loading any Groovy source files on the classpath of Jenkins and Jenkins plugins in sandboxed pipelines.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.5
Jenkins Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier allows loading any Groovy source files on the classpath of Jenkins and Jenkins plugins in sandboxed pipelines.
- Record
CVE-2022-30945- CVSS 3.1
- 8.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
Jenkins Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier allows loading any Groovy source files on the classpath of Jenkins and Jenkins plugins in sandboxed pipelines.
- Record
CVE-2022-30945- Updated
- 2026-11-02
EUVDEUVD-2022-2074 No score
Jenkins Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier allows loading any Groovy source files on the classpath of Jenkins and Jenkins plugins in sandboxed pipelines.
- Record
EUVD-2022-2074- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2xvx-rw9p-xgfc
7.5
Sandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Jenkins Pipeline: Groovy Plugin
Pipeline: Groovy Plugin allows pipelines to load Groovy source files. This is intended to be used to allow Global Shared Libraries to execute without sandbox protection.
In Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier, any Groovy source files bundled with Jenkins core and plugins could be loaded this way and their methods executed. If a suitable Groovy source file is available on the classpath of Jenkins, sandbox protections can be bypassed.
The Jenkins security team has been unable to identify any Groovy source files in Jenkins core or plugins that would allow attackers to execute dangerous code. While the severity of this issue is declared as High due to the potential impact, successful exploitation is considered very unlikely.
Pipeline: Groovy Plugin 2692.v76b_089ccd026 restricts which Groovy source files can be loaded in Pipelines.
Groovy source files in public plugins intended to be executed in sandboxed pipelines have been identified and added to an allowlist. The new extension point org.jenkinsci.plugins.workflow.cps.GroovySourceFileAllowlist allows plugins to add specific Groovy source files to that allowlist if necessary, but creation of plugin-specific Pipeline DSLs is strongly discouraged.
- Record
GHSA-2xvx-rw9p-xgfc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-434, CWE-552
- Updated
- 2026-11-02
OSV
8.5
Jenkins Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier allows loading any Groovy source files on the classpath of Jenkins and Jenkins plugins in sandboxed pipelines.
- Record
CVE-2022-30945- CVSS 3.1
- 8.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-2xvx-rw9p-xgfc
7.5
Sandbox bypass vulnerability through implicitly allowlisted platform Groovy files in Jenkins Pipeline: Groovy Plugin
Pipeline: Groovy Plugin allows pipelines to load Groovy source files. This is intended to be used to allow Global Shared Libraries to execute without sandbox protection.
In Pipeline: Groovy Plugin 2689.v434009a_31b_f1 and earlier, any Groovy source files bundled with Jenkins core and plugins could be loaded this way and their methods executed. If a suitable Groovy source file is available on the classpath of Jenkins, sandbox protections can be bypassed.
The Jenkins security team has been unable to identify any Groovy source files in Jenkins core or plugins that would allow attackers to execute dangerous code. While the severity of this issue is declared as High due to the potential impact, successful exploitation is considered very unlikely.
Pipeline: Groovy Plugin 2692.v76b_089ccd026 restricts which Groovy source files can be loaded in Pipelines.
Groovy source files in public plugins intended to be executed in sandboxed pipelines have been identified and added to an allowlist. The new extension point org.jenkinsci.plugins.workflow.cps.GroovySourceFileAllowlist allows plugins to add specific Groovy source files to that allowlist if necessary, but creation of plugin-specific Pipeline DSLs is strongly discouraged.
- Record
GHSA-2xvx-rw9p-xgfc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-434, CWE-552
- Updated
- 2026-11-02
OSVRHSA-2023:0017
8.8
Red Hat Security Advisory: OpenShift Container Platform 4.8.56 packages and security update
- Record
RHSA-2023:0017- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.plugins.workflow:workflow-cpsMaven |
through 2689.v434009a | 2692.v76b |
org.jenkins-ci.plugins.workflow:workflow-cpsMaven |
before 2692.v76b, plus listed versions 0.1-beta-10.1-beta-20.1-beta-30.1-beta-40.1-beta-5 Show 45 moreShow less0.1-beta-60.1-beta-70.1-beta-81.01.0-beta-11.11.101.10-beta-11.10.11.111.11-beta-11.11-beta-21.11-beta-31.11-beta-41.121.12-beta-11.12-beta-21.12-beta-31.131.141.14-beta-11.14.11.14.1-beta-11.14.21.151.15-beta-11.21.31.41.4.11.4.21.4.31.4.3-beta-11.51.61.6-alpha-11.71.7-alpha-11.81.91.9-beta-12.02.12.102.11 |
2692.v76b |
jenkinsRed Hat:openshift:4.8::el8 From an advisory covering 16 CVEs |
before 0:2.361.1.1672840472-1.el8 | 0:2.361.1.1672840472-1.el8 |
jenkins-2-pluginsRed Hat:openshift:4.8::el8 From an advisory covering 16 CVEs |
before 0:4.8.1672842762-1.el8 | 0:4.8.1672842762-1.el8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-30945 is a high vulnerability (CVSS 8.5) in Jenkins Project Pipeline: Groovy Plugin, published May 17, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.42%, the 73rd percentile. Fixed in org.jenkins-ci.plugins.workflow:workflow-cps 2692.v76b.
References
jenkins.io/security/advisory/2022-05-17
openwall.com/lists/oss-security/2022/05/17/8
nvd.nist.gov/vuln/detail/CVE-2022-30945
github.com/jenkinsci/workflow-cps-plugin/commit/76a7681702f42d65f77bbaa5463f146876ea62db
github.com/jenkinsci/workflow-cps-plugin/commit/76b089ccd026b68012b0deb30c217395f7ca7dc2
github.com/advisories/GHSA-2xvx-rw9p-xgfc
Show 72 moreShow less
github.com/jenkinsci/workflow-cps-plugin
access.redhat.com/errata/RHSA-2023:0017
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2074855
bugzilla.redhat.com/show_bug.cgi?id=2103548
bugzilla.redhat.com/show_bug.cgi?id=2103551
bugzilla.redhat.com/show_bug.cgi?id=2114755
bugzilla.redhat.com/show_bug.cgi?id=2116840
bugzilla.redhat.com/show_bug.cgi?id=2116952
bugzilla.redhat.com/show_bug.cgi?id=2119642
bugzilla.redhat.com/show_bug.cgi?id=2119643
bugzilla.redhat.com/show_bug.cgi?id=2119644
bugzilla.redhat.com/show_bug.cgi?id=2119645
bugzilla.redhat.com/show_bug.cgi?id=2119646
bugzilla.redhat.com/show_bug.cgi?id=2119647
bugzilla.redhat.com/show_bug.cgi?id=2119653
bugzilla.redhat.com/show_bug.cgi?id=2119656
bugzilla.redhat.com/show_bug.cgi?id=2119657
bugzilla.redhat.com/show_bug.cgi?id=2119658
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0017.json
access.redhat.com/security/cve/CVE-2022-2048
cve.org/CVERecord?id=CVE-2022-2048
nvd.nist.gov/vuln/detail/CVE-2022-2048
github.com/eclipse/jetty.project/security/advisories/GHSA-wgmr-mf83-7x4j
access.redhat.com/security/cve/CVE-2022-29047
cve.org/CVERecord?id=CVE-2022-29047
nvd.nist.gov/vuln/detail/CVE-2022-29047
jenkins.io/security/advisory/2022-04-12
access.redhat.com/security/cve/CVE-2022-30945
cve.org/CVERecord?id=CVE-2022-30945
access.redhat.com/security/cve/CVE-2022-30946
cve.org/CVERecord?id=CVE-2022-30946
nvd.nist.gov/vuln/detail/CVE-2022-30946
access.redhat.com/security/cve/CVE-2022-30948
cve.org/CVERecord?id=CVE-2022-30948
nvd.nist.gov/vuln/detail/CVE-2022-30948
access.redhat.com/security/cve/CVE-2022-30952
cve.org/CVERecord?id=CVE-2022-30952
nvd.nist.gov/vuln/detail/CVE-2022-30952
access.redhat.com/security/cve/CVE-2022-30953
cve.org/CVERecord?id=CVE-2022-30953
nvd.nist.gov/vuln/detail/CVE-2022-30953
access.redhat.com/security/cve/CVE-2022-30954
cve.org/CVERecord?id=CVE-2022-30954
nvd.nist.gov/vuln/detail/CVE-2022-30954
access.redhat.com/security/cve/CVE-2022-34174
cve.org/CVERecord?id=CVE-2022-34174
nvd.nist.gov/vuln/detail/CVE-2022-34174
jenkins.io/security/advisory/2022-06-22
access.redhat.com/security/cve/CVE-2022-34176
cve.org/CVERecord?id=CVE-2022-34176
nvd.nist.gov/vuln/detail/CVE-2022-34176
access.redhat.com/security/cve/CVE-2022-34177
cve.org/CVERecord?id=CVE-2022-34177
nvd.nist.gov/vuln/detail/CVE-2022-34177
access.redhat.com/security/cve/CVE-2022-36881
cve.org/CVERecord?id=CVE-2022-36881
nvd.nist.gov/vuln/detail/CVE-2022-36881
github.com/advisories/GHSA-cm7j-p8hc-97vj
jenkins.io/security/advisory/2022-07-27
access.redhat.com/security/cve/CVE-2022-36882
cve.org/CVERecord?id=CVE-2022-36882
nvd.nist.gov/vuln/detail/CVE-2022-36882
access.redhat.com/security/cve/CVE-2022-36883
cve.org/CVERecord?id=CVE-2022-36883
nvd.nist.gov/vuln/detail/CVE-2022-36883
access.redhat.com/security/cve/CVE-2022-36884
cve.org/CVERecord?id=CVE-2022-36884
nvd.nist.gov/vuln/detail/CVE-2022-36884
access.redhat.com/security/cve/CVE-2022-36885
cve.org/CVERecord?id=CVE-2022-36885
nvd.nist.gov/vuln/detail/CVE-2022-36885
Left out here: 133 versions. The JSON record has them.