# CVE-2022-25177: Improper Link Resolution Before File Access in Jenkins Pipeline: Shared Groovy Libraries Plugin

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.74%, higher than 78% of CVEs (2026-12-01)
- Published: 2022-02-15T16:10:56.000Z
- Modified: 2026-06-17T04:33:09.367Z
- Also known as: GHSA-q234-x887-9rxh
- Weaknesses: CWE-59
- Assigned by: jenkins

## Description

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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin: from unspecified up to 552.vd9cc05b8a2e1 (not affected: 2.21.1; 2.18.1)
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): from 2.22 before 561.va_ce0de3c2d69; from 2.19 before 2.21.1; before 2.18.1
- jenkins pipeline:shared_groovy_libraries: up to 552.vd9cc05b8a2e1

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25177> (advisory)
- <https://github.com/jenkinsci/workflow-cps-global-lib-plugin> (package)

## Sources

- CVE List: [CVE-2022-25177](https://www.cve.org/CVERecord?id=CVE-2022-25177), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-q234-x887-9rxh](https://github.com/advisories/GHSA-q234-x887-9rxh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25177](https://nvd.nist.gov/vuln/detail/CVE-2022-25177), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25177 · Whole record: https://cve.day/CVE-2022-25177.json · Rebuilt by cve.day 2026-11-25T22:58:09.695Z
