CVE-2022-30945
Java vulnerability analysis and mitigation

Overview

CVE-2022-30945 is a high-severity sandbox bypass vulnerability discovered in Jenkins Pipeline: Groovy Plugin. The vulnerability was disclosed on May 17, 2022, affecting Pipeline: Groovy Plugin versions up to and including 2689.v434009a31bf1. The plugin allows pipelines to load Groovy source files, which was intended for Global Shared Libraries to execute without sandbox protection (Jenkins Advisory).

Technical details

The vulnerability allows any Groovy source files bundled with Jenkins core and plugins to be loaded and their methods executed. If a suitable Groovy source file is available on the classpath of Jenkins, sandbox protections can be bypassed. The issue has been assigned a High severity CVSS rating, though the Jenkins security team noted they were unable to identify any Groovy source files in Jenkins core or plugins that would allow attackers to execute dangerous code, making successful exploitation very unlikely (Jenkins Advisory).

Impact

If exploited, the vulnerability could potentially allow attackers to bypass sandbox protections in Jenkins pipelines. However, the actual impact is considered limited as no known Groovy source files in Jenkins core or plugins have been identified that would enable the execution of dangerous code (Jenkins Advisory).

Mitigation and workarounds

The vulnerability was fixed in Pipeline: Groovy Plugin version 2692.v76b_089ccd026. The update restricts which Groovy source files can be loaded in Pipelines. Groovy source files in public plugins intended to be executed in sandboxed pipelines have been identified and added to an allowlist. A new extension point org.jenkinsci.plugins.workflow.cps.GroovySourceFileAllowlist was introduced to allow plugins to add specific Groovy source files to the allowlist if necessary (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-64775HIGH7.5
  • JavaJava
  • javapackages-tools:201801::guice-servlet
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025
CVE-2025-13472MEDIUM5.3
  • JavaJava
  • com.blazemeter.plugins:blazemeterjenkinsplugin
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management