# CVE-2022-43406: Sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

Source: https://junglewise.ai/threats/cve-2022-43406-sandbox-bypass-vulnerability-in-jenkins-pipeline-deprecated  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-10-19  
License: CC BY 4.0 with a link back

CVE-2022-43406 · Severity: low · CVSS 3.1 · Published 2022-10-19

Sandbox bypass vulnerability in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

Technologies: [io.jenkins.plugins:pipeline-groovy-lib (Maven)](https://junglewise.ai/threats/technologies/io-jenkins-plugins-pipeline-groovy-lib), [org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-workflow-workflow-cps-global-lib). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-43406 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-43406 being exploited in the wild.

**How severe is CVE-2022-43406?** Low severity, with a CVSS score of 3.1, published 19 October 2022.

**Which products and versions are affected?** io.jenkins.plugins:pipeline-groovy-lib (Maven) ECOSYSTEM:introduced=0,fixed=613.v9c41a_160233f; org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) ECOSYSTEM:introduced=0,fixed=588.v576c103a_ff86.

**Is there a fix for CVE-2022-43406?** Yes. io.jenkins.plugins:pipeline-groovy-lib (Maven): upgrade to 613.v9c41a_160233f or later; org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): upgrade to 588.v576c103a_ff86 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-43406?** Check whether you run io.jenkins.plugins:pipeline-groovy-lib (Maven) or org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.jenkins.plugins:pipeline-groovy-lib (Maven): upgrade to 613.v9c41a_160233f or later

  ```sh
  # set io.jenkins.plugins:pipeline-groovy-lib to 613.v9c41a_160233f in your pom.xml or build.gradle
  ```

- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): upgrade to 588.v576c103a_ff86 or later

  ```sh
  # set org.jenkins-ci.plugins.workflow:workflow-cps-global-lib to 588.v576c103a_ff86 in your pom.xml or build.gradle
  ```


## Affected products

- io.jenkins.plugins:pipeline-groovy-lib (Maven) ECOSYSTEM:introduced=0,fixed=613.v9c41a_160233f
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) ECOSYSTEM:introduced=0,fixed=588.v576c103a_ff86

## Identifiers

- CVE-2022-43406
- GHSA-7qw2-h9gj-hcvh

## Related threats

- [Jenkins Pipeline Groovy Plugin unrestricted instantiation in Snippet Generator](https://junglewise.ai/threats/cve-2026-57284-jenkins-pipeline-groovy-plugin-unrestricted-instantiation-in)
- [Jenkins Pipeline Groovy Plugin CSRF in Snippet Generator](https://junglewise.ai/threats/cve-2026-57283-jenkins-pipeline-groovy-plugin-csrf-in-snippet-generator)
- [Jenkins Pipeline: Groovy Libraries Plugin arbitrary file read via symbolic links](https://junglewise.ai/threats/cve-2026-48921-jenkins-pipeline-groovy-libraries-plugin-arbitrary-file-read-via)
- [Sandbox bypass vulnerability in Jenkins Pipeline: Groovy Libraries Plugin and Pipeline: Deprecated Groovy Libraries Plugin](https://junglewise.ai/threats/cve-2022-43405-sandbox-bypass-vulnerability-in-jenkins-pipeline-groovy-libraries)
- [Missing Authorization in Jenkins Pipeline: Shared Groovy Libraries Plugin](https://junglewise.ai/threats/cve-2019-10357-missing-authorization-in-jenkins-pipeline-shared-groovy-libraries)
