CVE-2022-25173
HIGH 8.8CVSS 3.1Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin
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.
- Published
- 15 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-4m7p-55jm-3vwv
- Sources
- NVDJSONOSV GHSA-4m7p-55jm-3vwvJSON
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:_groovycpe:2.3:a:jenkins:pipeline\:_groovy:*:*:*:*:*:jenkins:*:* |
<= 2648.va9433432b33c | |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps | >= 2646.v6ed3b5b01ff1, < 2656.vf7a | 2656.vf7a |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps | >= 2.93, < 2.94.1 | 2.94.1 |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps | < 2.92.1 | 2.92.1 |
References
- http://www.openwall.com/lists/oss-security/2022/02/15/2 · Mailing List, Third Party Advisory, WEB
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463 · Issue Tracking, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25173 · ADVISORY
- https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85 · WEB
- https://github.com/CVEProject/cvelist/blob/3615f493b8a36ff15735fb9d79c9dc9e0d542695/2022/25xxx/CVE-2022-25173.json · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Feb 2022)