Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin
Jenkins Pipeline: Groovy Plugin prior to 2656.vf7a_e7b_75a_457, 2.94.1, and 2.92.1 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.jenkins-ci.plugins.workflow:workflow-cps | >= 2646.v6ed3b5b01ff1, < 2656.vf7a, >= 2.93, < 2.94.1, < 2.92.1 | 2656.vf7a, 2.94.1, 2.92.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25173
- https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85
- https://github.com/CVEProject/cvelist/blob/3615f493b8a36ff15735fb9d79c9dc9e0d542695/2022/25xxx/CVE-2022-25173.json
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463
- http://www.openwall.com/lists/oss-security/2022/02/15/2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-78- Platform
- Java / Kotlin (Maven)
- Package
org.jenkins-ci.plugins.workflow:workflow-cps- Disclosed
- 16.02.2022
- Updated
- 11.10.2026 11:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4m7p-55jm-3vwv - CC BY 4.0
Vulnerability history: org.jenkins-ci.plugins.workflow:workflow-cps
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 02.2022 11.2024
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 3
- High 8
- Medium 2
Disclosures per year
- 2022: 12
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.