ZeroHour

CVE-2026-92124

large

Sandbox Bypass in Jenkins Script Security Plugin Enables Controller RCE

CVSS 3.1
8.8 high
EPSS
Published
()
Modified
AI analysis

The Jenkins Script Security Plugin, which restricts what Groovy code can do when users run sandboxed scripts, mishandles type casts on collections: it checks the operations Groovy performs with the elements read from a collection that a script casts to another type, but actually applies the cast to the collection itself. An attacker who already has permission to define and run sandboxed scripts, including Pipelines (a low-privilege, authenticated position per the CVSS vector), can craft a script that exploits this mismatch to perform operations the sandbox never approved. The result is a complete sandbox bypass and execution of arbitrary code in the context of the Jenkins controller JVM, giving the attacker control over the Jenkins instance, its stored credentials, jobs, and build agents. Any Jenkins controller running Script Security Plugin 1415.v9a_f9b_3a_c253d or earlier that grants sandboxed-script permissions to users is affected. No public proof-of-concept, CISA KEV listing, or confirmed in-the-wild exploitation is known at this time.

What to do: Update the Script Security Plugin via the Jenkins update center to the newest release published after 1415.v9a_f9b_3a_c253d (see the Jenkins security advisory for the fixed version). Until patched, restrict which users or roles can define and run sandboxed scripts and Pipelines, and review controller logs for suspicious sandboxed-script activity. Administrators should re-check that the plugin is updated on every controller, since it is commonly pulled in automatically as a Pipeline dependency.

Affected
Jenkins Script Security Plugin1415.v9a_f9b_3a_c253d and earlier
Estimated exposure
large≈300,000+ Jenkins controllers (Script Security plugin has hundreds of thousands of active installs) — Jenkins community plugin statistics consistently place Script Security among the most-installed plugins with active installs in the hundreds of thousands, and it is a required dependency of the Pipeline plugin suite present on nearly every…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Jenkins Script Security Plugin 1415.v9a_f9b_3a_c253d and earlier checks the operations Groovy will perform with the elements it reads from a collection that a sandboxed script casts to another type but performs the cast on the collection itself, allowing 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.

Weakness
CWE-693
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.