# CVE-2022-29047: Untrusted users can modify some Pipeline libraries in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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.18%, higher than 68% of CVEs (2026-12-01)
- Published: 2022-04-12T19:50:46.000Z
- Modified: 2026-06-17T04:39:30.030Z
- Also known as: GHSA-hh6f-6fp5-gfpv
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: jenkins

## Description

Jenkins Pipeline: Shared Groovy Libraries Plugin 564.ve62a_4eb_b_e039 and earlier, except 2.21.3, allows attackers able to submit pull requests (or equivalent), but not able to commit directly to the configured SCM, to effectively change the Pipeline behavior by changing the definition of a dynamically retrieved library in their pull request, even if the Pipeline is configured to not trust them.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin: from unspecified up to 564.ve62a_4eb_b_e039 (not affected: 2.21.3)
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): before 2.21.3; from 544.vff04fa68714d before 566.vd0a
- jenkins pipeline:_shared_groovy_libraries: before 2.21.3; from 544.vff04fa68714d before 566.vd0a_a_3334a_555

## Every score

- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-1951> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29047> (advisory)
- <https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/97bf32458e60ad252cfe5e7949bacf04459cee64> (web)
- <https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/bae59b46cb524549d7f346ba73d3161804c97331> (web)

## Sources

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

---

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