# CVE-2022-25173: Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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.24%, higher than 69% of CVEs (2026-11-30)
- Published: 2022-02-15T16:10:50.000Z
- Modified: 2026-06-17T04:33:08.970Z
- Also known as: GHSA-4m7p-55jm-3vwv
- Weaknesses: CWE-78
- Assigned by: jenkins

## Description

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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Pipeline: Groovy Plugin: from unspecified up to 2648.va9433432b33c (not affected: 2.94.1; 2.92.1)
- org.jenkins-ci.plugins.workflow:workflow-cps (Maven): from 2646.v6ed3b5b01ff1 before 2656.vf7a; from 2.93 before 2.94.1; before 2.92.1
- jenkins pipeline:_groovy: up to 2648.va9433432b33c

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463> (issue-tracking, patch, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/02/15/2> (mailing-list, third-party-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)

## Sources

- CVE List: [CVE-2022-25173](https://www.cve.org/CVERecord?id=CVE-2022-25173), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-4m7p-55jm-3vwv](https://github.com/advisories/GHSA-4m7p-55jm-3vwv), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-25173](https://nvd.nist.gov/vuln/detail/CVE-2022-25173), Public domain, modified 2026-06-17

---

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