CVE-2022-25173Jenkins Pipeline: Groovy
High 8.8
Follow: this CVE · Jenkins · Jenkins Pipeline: Groovy We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- Yes
- Published
- Feb 15, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.
What to do
- Apply the vendor's security update for Pipeline: Groovy.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps |
≥ 2646.v6ed3b5b01ff1 < 2656.vf7a |
2656.vf7a |
— |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps |
≥ 2.93 < 2.94.1 |
2.94.1 |
— |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps |
< 2.92.1 |
2.92.1 |
— |
Per OSV / GitHub Advisories (GHSA-4m7p-55jm-3vwv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | pipeline:_groovy | ≤ 2648.va9433432b33c |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.jenkins.io Issue Tracking Patch Vendor Advisory