Every CVE Search/ Get API key

CVE-2022-43406

Sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

9.9 CriticalFix available

A sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin 583.vf3b_454e43966 and earlier allows attackers with permission to define untrusted Pipeline libraries and to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.40%Down 1.1 points since Oct 22, 2022
90%50%10%1%

What each source reports

NVD Score used 9.9

A sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin 583.vf3b_454e43966 and earlier allows attackers with permission to define untrusted Pipeline libraries and to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Record
CVE-2022-43406
CVSS 3.1
9.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
CVE List No score

A sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin 583.vf3b_454e43966 and earlier allows attackers with permission to define untrusted Pipeline libraries and to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Record
CVE-2022-43406
Updated
2026-11-02
EUVDEUVD-2022-7049 No score

A sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin 583.vf3b_454e43966 and earlier allows attackers with permission to define untrusted Pipeline libraries and to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Record
EUVD-2022-7049
Updated
2026-11-03
GitHub AdvisoriesGHSA-7qw2-h9gj-hcvh 8.8

Sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

Pipeline: Groovy Libraries Plugin and older releases of the Pipeline: Deprecated Groovy Libraries Plugin (formerly Pipeline: Shared Groovy Libraries Plugin) define the library Pipeline step, which allows Pipeline authors to dynamically load Pipeline libraries. The return value of this step can be used to instantiate classes defined in the loaded library.

In Pipeline: Groovy Libraries Plugin 612.v84da_9c54906d and earlier and in Pipeline: Deprecated Groovy Libraries Plugin 583.vf3b_454e43966 and earlier, the library step can be used to invoke sandbox-generated synthetic constructors in crafted untrusted libraries and construct any subclassable type. This is similar to SECURITY-582 in the 2017-08-07 security advisory, but in a different plugin.

This vulnerability allows attackers with permission to define untrusted Pipeline libraries and to define and run sandboxed Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Pipeline: Groovy Libraries Plugin 613.v9c41a_160233f rejects improper calls to sandbox-generated synthetic constructors when using the library step.

Pipeline: Deprecated Groovy Libraries Plugin 588.v576c103a_ff86 no longer contains the library step. It has been moved into the Pipeline: Groovy Libraries Plugin.

Record
GHSA-7qw2-h9gj-hcvh
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-693
Updated
2026-11-02
OSVGHSA-7qw2-h9gj-hcvh 8.8

Sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

Pipeline: Groovy Libraries Plugin and older releases of the Pipeline: Deprecated Groovy Libraries Plugin (formerly Pipeline: Shared Groovy Libraries Plugin) define the library Pipeline step, which allows Pipeline authors to dynamically load Pipeline libraries. The return value of this step can be used to instantiate classes defined in the loaded library.

In Pipeline: Groovy Libraries Plugin 612.v84da_9c54906d and earlier and in Pipeline: Deprecated Groovy Libraries Plugin 583.vf3b_454e43966 and earlier, the library step can be used to invoke sandbox-generated synthetic constructors in crafted untrusted libraries and construct any subclassable type. This is similar to SECURITY-582 in the 2017-08-07 security advisory, but in a different plugin.

This vulnerability allows attackers with permission to define untrusted Pipeline libraries and to define and run sandboxed Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Pipeline: Groovy Libraries Plugin 613.v9c41a_160233f rejects improper calls to sandbox-generated synthetic constructors when using the library step.

Pipeline: Deprecated Groovy Libraries Plugin 588.v576c103a_ff86 no longer contains the library step. It has been moved into the Pipeline: Groovy Libraries Plugin.

Record
GHSA-7qw2-h9gj-hcvh
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-693
Updated
2026-11-02
OSVRHSA-2023:0560 9.9

Red Hat Security Advisory: OpenShift Container Platform 4.10.51 security update

Record
RHSA-2023:0560
CVSS 3.1
9.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2023:0777 9.9

Red Hat Security Advisory: OpenShift Container Platform 4.9.56 security update

Record
RHSA-2023:0777
CVSS 3.1
9.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2023:1064 9.9

Red Hat Security Advisory: OpenShift Developer Tools and Services for OCP 4.12 security update

Record
RHSA-2023:1064
CVSS 3.1
9.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2023:3198 9.9

Red Hat Security Advisory: jenkins and jenkins-2-plugins security update

Record
RHSA-2023:3198
CVSS 3.1
9.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
Maven
before 588.v576c103a
588.v576c103a
io.jenkins.plugins:pipeline-groovy-lib
Maven
through 612.v84da
613.v9c41a_160233f
org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
Maven
before 588.v576c103a_ff86, plus listed versions
0.1-beta-50.1-beta-60.1-beta-70.1-beta-81.0
Show 45 moreShow less
1.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.112.122.12.12.132.13.1
588.v576c103a_ff86
io.jenkins.plugins:pipeline-groovy-lib
Maven
before 613.v9c41a_160233f, plus listed versions
589.vb_a_b_4a_a_8c443c591.v3a_7f422b_d058593.595.vfc6485d13dcd593.va_a_fc25d520e9598.vcd66b_a_336510612.614.v48dcb_f62a_640612.v84da_9c54906d
613.v9c41a_160233f
jenkins-2-plugins
Red Hat:openshift:4.10::el8
From an advisory covering 23 CVEs
before 0:4.10.1675144701-1.el8
0:4.10.1675144701-1.el8
jenkins-2-plugins
Red Hat:openshift:4.9::el8
From an advisory covering 26 CVEs
before 0:4.9.1675668922-1.el8
0:4.9.1675668922-1.el8
jenkins
Red Hat:openshift:4.9::el8
From an advisory covering 26 CVEs
before 0:2.361.1.1675668150-1.el8
0:2.361.1.1675668150-1.el8
jenkins-2-plugins
Red Hat:ocp_tools:4.12::el8
From an advisory covering 15 CVEs
before 0:4.12.1675702407-1.el8
0:4.12.1675702407-1.el8
jenkins-2-plugins
Red Hat:ocp_tools:4.11::el8
From an advisory covering 22 CVEs
before 0:4.11.1683009941-1.el8
0:4.11.1683009941-1.el8
jenkins
Red Hat:ocp_tools:4.11::el8
From an advisory covering 22 CVEs
before 0:2.387.1.1683009763-3.el8
0:2.387.1.1683009763-3.el8

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-43406 is a critical vulnerability (CVSS 9.9) in Jenkins Groovy Libraries, published October 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.40%, the 72nd percentile. Fixed in org.jenkins-ci.plugins.workflow:workflow-cps-global-lib 588.v576c103a.

References

Show 176 moreShow less
This page doesn't list everything

Left out here: 31 versions. The JSON record has them.

MoveEnter Open