CVE-2024-52554
Description
Jenkins Shared Library Version Override Plugin declares folder-scoped library overrides as trusted, bypassing sandbox restrictions, allowing code execution without sandbox protection.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Jenkins Shared Library Version Override Plugin declares folder-scoped library overrides as trusted, bypassing sandbox restrictions, allowing code execution without sandbox protection.
Vulnerability
Overview
Jenkins Shared Library Version Override Plugin 17.v786074c9fce7 and earlier declares folder-scoped library overrides as trusted, meaning they are not executed within the Script Security sandbox [1][2]. This design flaw allows an attacker with Item/Configure permission on a folder to configure a folder-scoped library override that runs without sandbox protection [3].
Attack
Vector and Prerequisites
The vulnerability can be exploited by any user who has Item/Configure permission on a folder in Jenkins. No other special privileges are required [1]. The attacker simply creates or modifies a folder-scoped library override, and when a pipeline using that folder executes, the override runs as a trusted library, bypassing all sandbox restrictions [2][3].
Impact
Successful exploitation allows an attacker to execute arbitrary Groovy code on the Jenkins controller without sandbox restrictions. This can lead to full compromise of the Jenkins instance, including exfiltration of secrets, installation of malware, or further lateral movement within the network [1].
Mitigation
Jenkins has released version 18.v600c6675dcb6 of the Shared Library Version Override Plugin which addresses this issue by no longer automatically treating folder-scoped library overrides as trusted [1][2]. Users should update to this or a later version immediately. If upgrading is not possible, administrators should review folder-level permissions to ensure only trusted users have Item/Configure access.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
io.jenkins.plugins:shared-library-version-overrideMaven | < 19.v3a | 19.v3a |
Affected products
2- Range: 0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-7845-crfj-phc4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-52554ghsaADVISORY
- www.jenkins.io/security/advisory/2024-11-13/ghsavendor-advisoryWEB
News mentions
1- Jenkins Security Advisory 2024-11-13Jenkins Security Advisories · Nov 13, 2024