CVE-2022-25181
HIGH 8.8CVSS 3.1Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure
A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.
- Published
- 15 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-693
- Also known as
- GHSA-7w2w-fwpf-9m4h
- Sources
- NVDJSONOSV GHSA-7w2w-fwpf-9m4hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | pipeline:shared_groovy_librariescpe:2.3:a:jenkins:pipeline\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:* |
<= 552.vd9cc05b8a2e1 | |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | < 561.va_ce0de3c2d69 | 561.va_ce0de3c2d69 |
References
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2441 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25181 · ADVISORY
- https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Feb 2022)