{"cve":"CVE-2022-25178","nvd":{"published":"2022-02-15T17:15:08.837","modified":"2026-06-17T04:33:09.460","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-22"],"references":["https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613","https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613"],"products":["jenkins:pipeline\\"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2022-25178","score":0.01668,"percentile":0.76768,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5hfv-mg5x-mv32","url":"https://osv.dev/vulnerability/GHSA-5hfv-mg5x-mv32","summary":"Improper Limitation of a Pathname to a Restricted Directory in Jenkins Pipeline: Shared Groovy Libraries Plugin","modified":"2023-11-08T04:08:42.254408Z","packages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib","ranges":[">=2.22 <561.va_ce0de3c2d69"],"fixed":["561.va_ce0de3c2d69"]},{"ecosystem":"Maven","name":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib","ranges":[">=2.19 <2.21.1"],"fixed":["2.21.1"]},{"ecosystem":"Maven","name":"org.jenkins-ci.plugins.workflow:workflow-cps-global-lib","purl":"pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib","ranges":["<2.18.1"],"fixed":["2.18.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}