CVE-2024-34144
Java vulnerability analysis and mitigation

Overview

CVE-2024-34144 is a sandbox bypass vulnerability discovered in Jenkins Script Security Plugin versions 1335.vf07d9ce377a_e and earlier. The vulnerability was disclosed on May 2, 2024, affecting the Jenkins automation server's Script Security Plugin. This security flaw allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass sandbox protection through crafted constructor bodies (Jenkins Advisory).

Technical details

The vulnerability exists in the sandbox feature of Script Security Plugin that is designed to allow low-privileged users to define and execute generally safe scripts. The specific technical issue involves crafted constructor bodies that invoke other constructors, which can be used to construct any subclassable type via implicit casts. This vulnerability is part of multiple sandbox bypass issues caused by an incomplete fix of SECURITY-2824. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CISA-ADP).

Impact

When exploited, this vulnerability allows attackers to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM. This means that attackers with permission to define and run sandboxed scripts can potentially gain unauthorized access to execute malicious code, compromising the security of the Jenkins environment (Jenkins Advisory).

Exploitability

The vulnerability requires an attacker to have permission to define and run sandboxed scripts, including Pipelines. The exploit involves using crafted constructor bodies that invoke other constructors to bypass sandbox protection mechanisms (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Script Security Plugin version 1336.vf33a_a_9863911. The fix includes additional restrictions and sanity checks to ensure that super constructors cannot be constructed without being intercepted by the sandbox. Specifically, calls to other constructors using 'this' are now intercepted by the sandbox, and classes in packages that can be shadowed by Groovy-defined classes are no longer ignored by the sandbox when intercepting super constructor calls (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-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

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