CVE-2024-34144
Jenkins Script Security Plugin has sandbox bypass vulnerability involving crafted constructor bodies
A sandbox bypass vulnerability involving crafted constructor bodies in Jenkins Script Security Plugin 1335.vf07d9ce377a_e and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
A sandbox bypass vulnerability involving crafted constructor bodies in Jenkins Script Security Plugin 1335.vf07d9ce377a_e and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
- Record
CVE-2024-34144- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-693
- Updated
- 2026-11-02
EUVDEUVD-2024-1789
9.8
A sandbox bypass vulnerability involving crafted constructor bodies in Jenkins Script Security Plugin 1335.vf07d9ce377a_e and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
- Record
EUVD-2024-1789- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-v63g-v339-2673
8.8
Jenkins Script Security Plugin has sandbox bypass vulnerability involving crafted constructor bodies
Jenkins Script Security Plugin provides a sandbox feature that allows low privileged users to define scripts, including Pipelines, that are generally safe to execute. Calls to code defined inside a sandboxed script are intercepted, and various allowlists are checked to determine whether the call is to be allowed.
Multiple sandbox bypass vulnerabilities exist in Script Security Plugin 1335.vf07d9ce377a_e and earlier:
-
Crafted constructor bodies that invoke other constructors can be used to construct any subclassable type via implicit casts.
-
Sandbox-defined Groovy classes that shadow specific non-sandbox-defined classes can be used to construct any subclassable type.
These vulnerabilities allow attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
- These issues are caused by an incomplete fix of SECURITY-2824.
Script Security Plugin 1336.vf33a_a_9863911 has additional restrictions and sanity checks to ensure that super constructors cannot be constructed without being intercepted by the sandbox:
-
Calls to to other constructors using this are now intercepted by the sandbox.
-
Classes in packages that can be shadowed by Groovy-defined classes are no longer ignored by the sandbox when intercepting super constructor calls.
- Record
GHSA-v63g-v339-2673- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-693
- Updated
- 2026-11-02
NVD
9.8
A sandbox bypass vulnerability involving crafted constructor bodies in Jenkins Script Security Plugin 1335.vf07d9ce377a_e and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
- Record
CVE-2024-34144- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-693
- Updated
- 2026-11-02
OSV
9.8
A sandbox bypass vulnerability involving crafted constructor bodies in Jenkins Script Security Plugin 1335.vf07d9ce377a_e and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
- Record
CVE-2024-34144- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-v63g-v339-2673
8.8
Jenkins Script Security Plugin has sandbox bypass vulnerability involving crafted constructor bodies
Jenkins Script Security Plugin provides a sandbox feature that allows low privileged users to define scripts, including Pipelines, that are generally safe to execute. Calls to code defined inside a sandboxed script are intercepted, and various allowlists are checked to determine whether the call is to be allowed.
Multiple sandbox bypass vulnerabilities exist in Script Security Plugin 1335.vf07d9ce377a_e and earlier:
-
Crafted constructor bodies that invoke other constructors can be used to construct any subclassable type via implicit casts.
-
Sandbox-defined Groovy classes that shadow specific non-sandbox-defined classes can be used to construct any subclassable type.
These vulnerabilities allow attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
- These issues are caused by an incomplete fix of SECURITY-2824.
Script Security Plugin 1336.vf33a_a_9863911 has additional restrictions and sanity checks to ensure that super constructors cannot be constructed without being intercepted by the sandbox:
-
Calls to to other constructors using this are now intercepted by the sandbox.
-
Classes in packages that can be shadowed by Groovy-defined classes are no longer ignored by the sandbox when intercepting super constructor calls.
- Record
GHSA-v63g-v339-2673- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-693
- Updated
- 2026-11-02
Show 5 moreShow less
OSVRHSA-2024:3634
8.8
Red Hat Security Advisory: Red Hat Product OCP Tools 4.14 OpenShift Jenkins security update
- Record
RHSA-2024:3634- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2024:3635
8.8
Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update
- Record
RHSA-2024:3635- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2024:3636
8.8
Red Hat Security Advisory: Red Hat Product OCP Tools 4.13 OpenShift Jenkins security update
- Record
RHSA-2024:3636- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2024:4597
8.8
Red Hat Security Advisory: Red Hat Product OCP Tools 4.15 OpenShift Jenkins security update
- Record
RHSA-2024:4597- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2024:8886
8.8
Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update
- Record
RHSA-2024:8886- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.plugins:script-securityMaven |
before 1336.vf33a | 1336.vf33a |
org.jenkins-ci.plugins:script-securityMaven |
before 1336.vf33a, plus listed versions 1.01.0-beta-11.0-beta-21.0-beta-31.0-beta-4 Show 45 moreShow less1.0-beta-51.0-beta-61.11.101.111.121.131.141.151.161.171.181.18.11.191.21.201.211.221.231.241.251.261.271.281.291.29.11.31.301.311.331.341.351.361.371.381.391.41.401.411.421.431.441.44.11.451.46 |
1336.vf33a |
jenkinsRed Hat:ocp_tools:4.14::el8 From an advisory covering 8 CVEs |
before 0:2.440.3.1716387933-3.el8 | 0:2.440.3.1716387933-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.14::el8 From an advisory covering 8 CVEs |
before 0:4.14.1716388016-1.el8 | 0:4.14.1716388016-1.el8 |
jenkinsRed Hat:ocp_tools:4.12::el8 From an advisory covering 8 CVEs |
before 0:2.440.3.1716445200-3.el8 | 0:2.440.3.1716445200-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.12::el8 From an advisory covering 8 CVEs |
before 0:4.12.1716445211-1.el8 | 0:4.12.1716445211-1.el8 |
jenkinsRed Hat:ocp_tools:4.13::el8 From an advisory covering 8 CVEs |
before 0:2.440.3.1716445150-3.el8 | 0:2.440.3.1716445150-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.13::el8 From an advisory covering 8 CVEs |
before 0:4.13.1716445207-1.el8 | 0:4.13.1716445207-1.el8 |
jenkinsRed Hat:ocp_tools:4.15::el8 From an advisory covering 9 CVEs |
before 0:2.440.3.1718879390-3.el8 | 0:2.440.3.1718879390-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.15::el8 From an advisory covering 9 CVEs |
before 0:4.15.1718879538-1.el8 | 0:4.15.1718879538-1.el8 |
jenkinsRed Hat:ocp_tools:4.12::el8 From an advisory covering 5 CVEs |
before 0:2.462.3.1730119132-3.el8 | 0:2.462.3.1730119132-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.12::el8 From an advisory covering 5 CVEs |
before 0:4.12.1730119231-1.el8 | 0:4.12.1730119231-1.el8 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | MXWXZ/CVE-2024-34144 | 2024-07-29 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-34144 is a critical vulnerability (CVSS 9.8) in Jenkins Script Security, published May 2, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 48.4%, the 98th percentile. Fixed in org.jenkins-ci.plugins:script-security 1336.vf33a.
References
jenkins.io/security/advisory/2024-05-02
openwall.com/lists/oss-security/2024/05/02/3
nvd.nist.gov/vuln/detail/CVE-2024-34144
github.com/jenkinsci/script-security-plugin/releases/tag/1336.vf33a_a_9863911
github.com/advisories/GHSA-v63g-v339-2673
github.com/jenkinsci/script-security-plugin
Show 76 moreShow less
access.redhat.com/errata/RHSA-2024:3634
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2254210
bugzilla.redhat.com/show_bug.cgi?id=2260183
bugzilla.redhat.com/show_bug.cgi?id=2260184
bugzilla.redhat.com/show_bug.cgi?id=2266136
bugzilla.redhat.com/show_bug.cgi?id=2268046
bugzilla.redhat.com/show_bug.cgi?id=2268227
bugzilla.redhat.com/show_bug.cgi?id=2278820
bugzilla.redhat.com/show_bug.cgi?id=2278821
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3634.json
access.redhat.com/security/cve/CVE-2023-48795
cve.org/CVERecord?id=CVE-2023-48795
nvd.nist.gov/vuln/detail/CVE-2023-48795
access.redhat.com/solutions/7071748
terrapin-attack.com
access.redhat.com/security/cve/CVE-2024-22201
cve.org/CVERecord?id=CVE-2024-22201
nvd.nist.gov/vuln/detail/CVE-2024-22201
github.com/jetty/jetty.project/issues/11256
github.com/jetty/jetty.project/security/advisories/GHSA-rggv-cv7r-mw98
access.redhat.com/security/cve/CVE-2024-23899
cve.org/CVERecord?id=CVE-2024-23899
nvd.nist.gov/vuln/detail/CVE-2024-23899
openwall.com/lists/oss-security/2024/01/24/6
jenkins.io/security/advisory/2024-01-24
access.redhat.com/security/cve/CVE-2024-23900
cve.org/CVERecord?id=CVE-2024-23900
nvd.nist.gov/vuln/detail/CVE-2024-23900
access.redhat.com/security/cve/CVE-2024-24786
cve.org/CVERecord?id=CVE-2024-24786
nvd.nist.gov/vuln/detail/CVE-2024-24786
go.dev/cl/569356
groups.google.com/g/golang-announce/c/ArQ6CDgtEjY
pkg.go.dev/vuln/GO-2024-2611
access.redhat.com/security/cve/CVE-2024-28149
cve.org/CVERecord?id=CVE-2024-28149
nvd.nist.gov/vuln/detail/CVE-2024-28149
jenkins.io/security/advisory/2024-03-06
access.redhat.com/security/cve/CVE-2024-34144
cve.org/CVERecord?id=CVE-2024-34144
access.redhat.com/security/cve/CVE-2024-34145
cve.org/CVERecord?id=CVE-2024-34145
nvd.nist.gov/vuln/detail/CVE-2024-34145
access.redhat.com/errata/RHSA-2024:3635
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3635.json
access.redhat.com/errata/RHSA-2024:3636
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3636.json
access.redhat.com/errata/RHSA-2024:4597
bugzilla.redhat.com/show_bug.cgi?id=2258725
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_4597.json
access.redhat.com/security/cve/CVE-2024-21626
access.redhat.com/security/vulnerabilities/RHSB-2024-001
cve.org/CVERecord?id=CVE-2024-21626
nvd.nist.gov/vuln/detail/CVE-2024-21626
github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv
access.redhat.com/errata/RHSA-2024:8886
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_8886.json
access.redhat.com/security/cve/CVE-2021-44549
bugzilla.redhat.com/show_bug.cgi?id=2315808
cve.org/CVERecord?id=CVE-2021-44549
nvd.nist.gov/vuln/detail/CVE-2021-44549
access.redhat.com/security/cve/CVE-2024-38808
bugzilla.redhat.com/show_bug.cgi?id=2305959
cve.org/CVERecord?id=CVE-2024-38808
nvd.nist.gov/vuln/detail/CVE-2024-38808
spring.io/security/cve-2024-38808
access.redhat.com/security/cve/CVE-2024-47803
bugzilla.redhat.com/show_bug.cgi?id=2316137
cve.org/CVERecord?id=CVE-2024-47803
nvd.nist.gov/vuln/detail/CVE-2024-47803
jenkins.io/security/advisory/2024-10-02
access.redhat.com/security/cve/CVE-2024-47804
bugzilla.redhat.com/show_bug.cgi?id=2316131
cve.org/CVERecord?id=CVE-2024-47804
nvd.nist.gov/vuln/detail/CVE-2024-47804
Left out here: 97 versions. The JSON record has them.