# CVE-2022-43401: Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin

Source: https://junglewise.ai/threats/cve-2022-43401-sandbox-bypass-vulnerabilities-in-jenkins-script-security-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-10-19  
License: CC BY 4.0 with a link back

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

Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin

Technologies: [org.jenkins-ci.plugins:script-security (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-script-security), [org.jenkins-ci.plugins.workflow:workflow-cps (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-workflow-workflow-cps). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

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

**Which products and versions are affected?** org.jenkins-ci.plugins:script-security (Maven) ECOSYSTEM:introduced=0,fixed=1184.v85d16b_d851b_3; org.jenkins-ci.plugins.workflow:workflow-cps (Maven) ECOSYSTEM:introduced=0,fixed=2803.v1a_f77ffcc773.

**Is there a fix for CVE-2022-43401?** Yes. org.jenkins-ci.plugins:script-security (Maven): upgrade to 1184.v85d16b_d851b_3 or later; org.jenkins-ci.plugins.workflow:workflow-cps (Maven): upgrade to 2803.v1a_f77ffcc773 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-43401?** Check whether you run org.jenkins-ci.plugins:script-security (Maven) or org.jenkins-ci.plugins.workflow:workflow-cps (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

- org.jenkins-ci.plugins:script-security (Maven): upgrade to 1184.v85d16b_d851b_3 or later

  ```sh
  # set org.jenkins-ci.plugins:script-security to 1184.v85d16b_d851b_3 in your pom.xml or build.gradle
  ```

- org.jenkins-ci.plugins.workflow:workflow-cps (Maven): upgrade to 2803.v1a_f77ffcc773 or later

  ```sh
  # set org.jenkins-ci.plugins.workflow:workflow-cps to 2803.v1a_f77ffcc773 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:script-security (Maven) ECOSYSTEM:introduced=0,fixed=1184.v85d16b_d851b_3
- org.jenkins-ci.plugins.workflow:workflow-cps (Maven) ECOSYSTEM:introduced=0,fixed=2803.v1a_f77ffcc773

## Identifiers

- CVE-2022-43401
- GHSA-7vr5-72w7-q6jc

## Related threats

- [Jenkins Script Security Plugin sandbox bypass via Groovy AST annotations](https://junglewise.ai/threats/cve-2026-57281-jenkins-script-security-plugin-sandbox-bypass-via-groovy-ast)
- [Jenkins Script Security Plugin sandbox bypass via Groovy implicit type casts](https://junglewise.ai/threats/cve-2026-57280-jenkins-script-security-plugin-sandbox-bypass-via-groovy-implicit)
- [Jenkins Script Security Plugin: Missing permission checks allow enumeration of pending and approved classpaths](https://junglewise.ai/threats/cve-2026-42519-jenkins-script-security-plugin-missing-permission-checks-allow)
- [Rebuilding a run with revoked script approval allowed by Jenkins Pipeline: Groovy Plugin](https://junglewise.ai/threats/cve-2024-52550-rebuilding-a-run-with-revoked-script-approval-allowed-by-jenkins)
- [Missing permission check in Jenkins Script Security Plugin](https://junglewise.ai/threats/cve-2024-52549-missing-permission-check-in-jenkins-script-security-plugin)
