CVE-2022-25177Jenkins Pipeline:shared Groovy Libraries
Medium 6.5
Follow: this CVE · Jenkins · Jenkins Pipeline:shared Groovy Libraries We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- Yes
- Published
- Feb 15, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-59
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.
What to do
- Apply the vendor's security update for Pipeline:shared Groovy Libraries.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib |
≥ 2.22 < 561.va_ce0de3c2d69 |
561.va_ce0de3c2d69 |
— |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib |
≥ 2.19 < 2.21.1 |
2.21.1 |
— |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib |
< 2.18.1 |
2.18.1 |
— |
Per OSV / GitHub Advisories (GHSA-q234-x887-9rxh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | pipeline:shared_groovy_libraries | ≤ 552.vd9cc05b8a2e1 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Patch Vendor Advisory