CVE-2022-25179 — workflow-multibranch
MEDIUMCVE-2022-25179 is a medium-severity (CVSS 6.5) CWE-59 vulnerability in org.jenkins-ci.plugins.workflow:workflow-multibranch. A fix is available for org.jenkins-ci.plugins.workflow:workflow-multibranch — see the affected versions and patch details below.
Link Following in Jenkins Pipeline Multibranch Plugin
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2022-25179 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.jenkins-ci.plugins.workflow:workflow-multibranch☕org.jenkins-ci.plugins.workflow:workflow-multibranch☕org.jenkins-ci.plugins.workflow:workflow-multibranch☕org.jenkins-ci.plugins.workflow:workflow-multibranchReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Jenkins Pipeline: Multibranch Plugin prior to 2.23.1, 2.26.1, 696.698.v9b4218eea50f, and 707.v71c3f0a_6ccdb_ follows symbolic links to locations outside of the checkout directory for the configured SCM when reading files using the readTrusted step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | ≥ 2.24&&< 2.26.1 | 2.26.1org.jenkins-ci.plugins.workflow:workflow-multibranch:2.26.1 |
| ☕Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | all versions | 2.23.1org.jenkins-ci.plugins.workflow:workflow-multibranch:2.23.1 |
| ☕Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | ≥ 696.v52535c46f4c9&&< 696.698.v9b4218eea50f | 696.698.v9b4218eea50forg.jenkins-ci.plugins.workflow:workflow-multibranch:696.698.v9b4218eea50f |
| ☕Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | ≥ 706.vd43c65dec013&&< 707.v71c3f0a | 707.v71c3f0aorg.jenkins-ci.plugins.workflow:workflow-multibranch:707.v71c3f0a |
Affected Products
pipeline\jenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins.workflow:workflow-multibranch, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.plugins.workflow:workflow-multibranch to 2.26.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-25179 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | jenkins-2-plugins-0:3.11.1650371376-1.el7 | RHSA-2022:1420 |
| Red Hat OpenShift Container Platform 4.10 | jenkins-2-plugins-0:4.10.1647505461-1.el8 | RHSA-2022:1025 |
| Red Hat OpenShift Container Platform 4.6 | jenkins-2-plugins-0:4.6.1650364520-1.el8 | RHSA-2022:1620 |
| Red Hat OpenShift Container Platform 4.7 | jenkins-2-plugins-0:4.7.1648800585-1.el8 | RHSA-2022:1248 |
| Red Hat OpenShift Container Platform 4.8 | jenkins-2-plugins-0:4.8.1646993358-1.el8 | RHSA-2022:0871 |
| Red Hat OpenShift Container Platform 4.9 | jenkins-2-plugins-0:4.9.1647580879-1.el8 | RHSA-2022:1021 |
Frequently Asked Questions
Is CVE-2022-25179 in your dependencies?
Find it across Maven, including transitive dependencies.