Read the docs
TI-2022-08895 Aliases CVE-2022-25182GHSA-7rcw-fwfh-2h2g

Protection mechanism failure in Jenkins Pipeline: Shared Groovy Libraries Plugin

Priority MEDIUM 43CWE-693Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-693.

Summary

A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code on the Jenkins controller JVM using specially crafted library names if a global Pipeline library is already configured.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01601 75th percentileScored 2026-11-07
Fix Fixed Jenkins Pipeline: Shared Groovy Libraries Plugin (Jenkins project): 2.21.1, 2.18.1org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): 561.va_ce0de3c2d69Red Hat: 6 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
JenkinsJenkins Pipeline: Shared Groovy Libraries Pluginup to 552.vd9cc05b8a2e12.21.1, 2.18.1Patch availableCNA
—org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven)before 561.va_ce0de3c2d69561.va_ce0de3c2d69Patch availableGHSA-7rcw-fwfh-2h2g
  • Jenkins Pipeline: Shared Groovy Libraries Plugin VendorJenkins Affected up to 552.vd9cc05b8a2e1 Fixed in 2.21.1, 2.18.1 Patch available CNA
  • org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) Vendor— Affected before 561.va_ce0de3c2d69 Fixed in 561.va_ce0de3c2d69 Patch available GHSA-7rcw-fwfh-2h2g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:jenkins:pipeline\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:*shared_groovy_librariesVulnerableJenkins
  • cpe:2.3:a:jenkins:pipeline\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:* Versions shared_groovy_libraries Vulnerable ·Jenkins

Remediation

  • Fix · CNA Jenkins Pipeline: Shared Groovy Libraries Plugin (Jenkins project) Fixed in 2.21.1, 2.18.1
  • Fix · GHSA-7rcw-fwfh-2h2g org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) Fixed in 561.va_ce0de3c2d69 Advisory →

Red Hat 6 advisories

  • RHSA-2022:1620 Released 2022-05-04 · Red Hat rating Important
    OpenShift Container Platform 4.6.57 packages and security update
    • Red Hat OpenShift Container Platform 4.6 haproxy-2.0.16-3.el7, haproxy-2.0.16-5.el8, haproxy20-2.0.16-3.el7 +2
  • RHSA-2022:1420 Released 2022-04-27 · Red Hat rating Important
    OpenShift Container Platform 3.11.685 security and bug fix update
    • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins-3.11.1650371376-1.el7, jenkins-2.319.3.1650348949-1.el7
  • RHSA-2022:1248 Released 2022-04-13 · Red Hat rating Important
    OpenShift Container Platform 4.7.48 packages and security update
    • Red Hat OpenShift Container Platform 4.7 jenkins-2-plugins-4.7.1648800585-1.el8
Show 3 more Red Hat advisories
  • RHSA-2022:1021 Released 2022-03-29 · Red Hat rating Important
    OpenShift Container Platform 4.9.26 security update
    • Red Hat OpenShift Container Platform 4.9 haproxy-2.2.15-4.el8, haproxy22-2.2.15-4.el8, jenkins-2-plugins-4.9.1647580879-1.el8
  • RHSA-2022:1025 Released 2022-03-28 · Red Hat rating Important
    OpenShift Container Platform 4.10.6 security update
    • Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins-4.10.1647505461-1.el8
  • RHSA-2022:0871 Released 2022-03-22 · Red Hat rating Important
    OpenShift Container Platform 4.8.35 security update
    • Red Hat OpenShift Container Platform 4.8 cri-o-1.21.5-3.rhaos4.8.gitaf64931.el7, cri-o-1.21.5-3.rhaos4.8.gitaf64931.el8, jenkins-2-plugins-4.8.1646993358-1.el8

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenShift Container Platform 3.11Fixed RHSA-2022:1420
Red Hat OpenShift Container Platform 4.10Fixed RHSA-2022:1025
Red Hat OpenShift Container Platform 4.6Fixed RHSA-2022:1620
Red Hat OpenShift Container Platform 4.7Fixed RHSA-2022:1248
Red Hat OpenShift Container Platform 4.8Fixed RHSA-2022:0871
Red Hat OpenShift Container Platform 4.9Fixed RHSA-2022:1021
Not affected: 5 products
  • Red Hat OpenShift Container Platform 3.11
  • Red Hat OpenShift Container Platform 4.10
  • Red Hat OpenShift Container Platform 4.6
  • Red Hat OpenShift Container Platform 4.8
  • Red Hat OpenShift Container Platform 4.9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25182
  2. 2026-10-03 Alias added: GHSA-7rcw-fwfh-2h2g

References

  • TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-15846 A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in… CVSS 3.1HIGH 8.8
  • TI-2019-15847 A sandbox bypass vulnerability exists in Pipeline: Declarative Plugin 1.3.3 and earlier… CVSS 3.1HIGH 8.8
  • TI-2023-11034 Cross-site scripting in Jenkins Pipeline: Build Step Plugin CVSS 3.1MEDIUM 5.4
  • TI-2019-15886 A sandbox bypass vulnerability in Jenkins Pipeline: Groovy Plugin 2.64 and earlier allows… CVSS 3.1CRITICAL 9.8
  • TI-2022-21197 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin CVSS 3.1CRITICAL 9.9
See all 39 →

Sources