Live threats

All CVEs / Jenkins

CVE-2022-25178Jenkins Pipeline:shared Groovy Libraries

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
Yes
Published
Feb 15, 2022
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-22
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 does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pipeline:shared Groovy Libraries.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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-5hfv-mg5x-mv32). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jenkinspipeline:shared_groovy_libraries≤ 552.vd9cc05b8a2e1

Official sources

References

Links published by the sources. Open them with care.