# CVE-2022-43402: Jenkins Pipeline: Groovy Plugin allows sandbox protection bypass and arbitrary code execution

- Severity: Critical 9.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.54%, higher than 75% of CVEs (2026-11-30)
- Published: 2022-10-19T00:00:00.000Z
- Modified: 2026-06-17T05:06:26.607Z
- Also known as: GHSA-mqc2-w9r8-mmxm
- Weaknesses: CWE-693
- Assigned by: jenkins

## Description

A sandbox bypass vulnerability involving various casts performed implicitly by the Groovy language runtime in Jenkins Pipeline: Groovy Plugin 2802.v5ea_628154b_c2 and earlier allows attackers with permission 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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Pipeline: Groovy Plugin: from unspecified up to 2802.v5ea_628154b_c2 (not affected: 2759.2761.vd6e8d2a_15980; 2746.2748.v365128b_c26d7)
- org.jenkins-ci.plugins.workflow:workflow-cps (Maven): before 2803.v1a_f77ffcc773
- jenkins pipeline:_groovy: up to 2802.v5ea_628154b_c2

## Every score

- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20%281%29> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/10/19/3> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-43402> (advisory)
- <https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2824%20(1)> (web)

## Sources

- CVE List: [CVE-2022-43402](https://www.cve.org/CVERecord?id=CVE-2022-43402), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-mqc2-w9r8-mmxm](https://github.com/advisories/GHSA-mqc2-w9r8-mmxm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-43402](https://nvd.nist.gov/vuln/detail/CVE-2022-43402), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-43402 · Whole record: https://cve.day/CVE-2022-43402.json · Rebuilt by cve.day 2026-11-25T22:58:15.900Z
