Executive brief
Jenkins Script Security Plugin contains a permission enforcement gap that allows unauthorized users to disable the sandbox security feature through Stapler data binding. The sandbox is a critical security boundary that isolates and restricts potentially dangerous code execution; disabling it could allow attackers to run arbitrary code on Jenkins servers without proper authorization controls.
Technical details
The vulnerability exists in a configuration method that controls the "Force the use of the sandbox globally in the system" setting in Jenkins Script Security Plugin versions 1412.v7737b_3405f86 and earlier. The method fails to enforce proper permission checks before allowing modifications to this security setting. An attacker can exploit this via Stapler's data binding mechanism, which performs reflective access to exposed methods and fields, to submit a crafted HTTP request that disables the sandbox feature. This requires network access to the Jenkins instance but no prior authentication. Once the sandbox is disabled, an attacker could potentially execute arbitrary Groovy code with Jenkins process privileges.
Affected products
- Jenkins Script Security Plugin 1412.v7737b_3405f86 and earlier
Timeline
- 2026-09-02: disclosed
- 2026-09-02: advisory