{"id":"CVE-2022-25173","aliases":["GHSA-4m7p-55jm-3vwv"],"url":"https://o3.security/vulnerability/CVE-2022-25173","summary":"Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin","details":"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.","published":"2022-02-15T17:15:08.477Z","modified":"2026-07-09T02:49:32.872048Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01444,"percentile":0.70828,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins.workflow:workflow-cps","fixedVersion":"2656.vf7a"},{"ecosystem":"Maven","name":"org.jenkins-ci.plugins.workflow:workflow-cps","fixedVersion":"2.94.1"},{"ecosystem":"Maven","name":"org.jenkins-ci.plugins.workflow:workflow-cps","fixedVersion":"2.92.1"}],"fix":{"url":"https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85","label":"jenkinsci/workflow-cps-plugin@f7ae7b7"},"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2022/02/15/2"},{"type":"FIX","url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25173"},{"type":"WEB","url":"https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85"},{"type":"WEB","url":"https://github.com/CVEProject/cvelist/blob/3615f493b8a36ff15735fb9d79c9dc9e0d542695/2022/25xxx/CVE-2022-25173.json"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T02:49:32.872048Z"}}