Jenkins Plugin Flaws Reach Controller Code And Secrets
Jenkins fixed plugin flaws that can escape Groovy sandboxes, expose controller secrets and run code. Inventory exact versions, patch and audit access.
Jenkins' November 25 security advisory fixes vulnerabilities across 11 plugins. Four High-severity paths deserve immediate attention because they can reach controller code or secrets: Pipeline: Groovy can let a sandboxed Pipeline execute arbitrary code through an interface field initializer; Script Security can instantiate an attacker-selected builder class before its sandbox applies; Gradle can parse a crafted Maven extension file with external entities on the controller; and Warnings can execute an inline Groovy parser while validating job configuration. Configuration as Code also has a High file and secret disclosure path for certain versions and permission settings.
This is a plugin release, not a single Jenkins core update. Operators need an exact controller-by-controller plugin inventory and must install each fixed version that applies. The advisory does not report active exploitation, and several findings require specific permissions, features or classpath conditions. Those prerequisites should drive triage rather than be erased. At the same time, code execution in the controller JVM can expose Jenkins credentials and affect build integrity, so evidence of exploitation requires secret rotation, artifact review and clean recovery, not only a plugin restart.
Key Takeaways
- check_circle The advisory covers 11 plugins, and a core version check alone cannot establish that a controller is patched.
- check_circle Pipeline: Groovy and Script Security flaws can cross sandbox boundaries before or outside the expected runtime checks.
- check_circle Warnings Plugin can execute inline parser code on the controller, while Gradle Plugin can read controller files or make server-side requests under a feature-specific condition.
- check_circle Configuration as Code can disclose files, environment variables, system properties and secret-source values to users granted Overall/SystemRead on affected versions.
- check_circle Different findings require Job/Configure, Overall/SystemRead, View/Configure, Overall/Read or control of workspace and report content, so permission review is part of patch triage.
- check_circle No active exploitation is reported in the advisory; confirmed controller code execution would still require credential and artifact response beyond updating plugins.
Plugin Inventory Comes Before Patch Claims
The advisory names Configuration as Code, Gradle, Nested View, Performance, Pipeline DORA Metrics, Pipeline: Groovy, Rich Text Publisher, Script Security, Spira Importer, Subversion and Warnings. Each has its own short name and fixed release. Updating Jenkins core or one visible plugin does not update the rest automatically, and a plugin dependency can remain installed even when administrators no longer think of it as a directly used feature.
Export the installed plugin short names and versions from every controller, including ephemeral, disaster-recovery and testing systems. Jenkins documents both the Plugin Manager and a Script Console inventory method. Preserve the pre-change list for incident review, then compare it with all 11 fixed floors. An update center showing no pending item is weaker evidence than the running controller reporting the expected version after restart.
The exact fixed versions are long but material. Pipeline: Groovy needs 4403.4405.va_b_cdb_b_d0b_89f; Script Security needs 1436.1438.v3dc5ef7d16f2; Gradle needs 2.22.1283.v53b_41fe4cb_d9; Warnings needs 13.10365.10367.v2db_e2de17661; and Configuration as Code needs 2148.v9d0c041b_a_13c. The vendor advisory lists the corresponding floors for the other six plugins.
Two Sandbox Bypasses Reach Controller Execution
CVE-2026-136834 affects Pipeline: Groovy through 4403.v471713a_cea_19. Jenkins says non-constant interface field initializers were not subject to sandbox protection. A user allowed to define and run a sandboxed Pipeline could place code there and execute arbitrary instructions in the controller JVM. The fixed version subjects those initializers to sandbox enforcement.
CVE-2026-136835 affects Script Security through 1436.v1082791135e4. Groovy's Builder annotation accepts a strategy class that can be instantiated during compilation. The plugin rejected unsafe uses incompletely when the annotation name was partially qualified, so an attacker could identify an arbitrary class before the sandbox applied. Jenkins notes that exploitation requires a suitable class on the evaluating component's classpath, a condition that must remain in the risk statement.
Both findings challenge a common assumption: a checked sandbox box does not make every compilation phase untrusted-code safe. Inventory who can change Pipelines, shared libraries and job definitions, then review recent changes using unusual annotations, interface initializers or unexpected class references. Do not respond by approving more signatures or disabling the sandbox. The fixed plugins close the published paths, while least privilege reduces who can attempt the next one.
Workspace And Job Content Can Cross Into The Controller
CVE-2026-136836 affects Gradle Plugin through 2.21.1282.v024680ce00a_b_. With the Develocity Maven auto-injection feature enabled, the controller reads `.mvn/extensions.xml` from a checked-out workspace. Its XML parser allowed external entities, so someone able to control that file could read controller secrets or induce server-side requests. Controllers without that feature enabled do not meet the advisory's exposure condition.
CVE-2026-136837 affects a bounded range of Warnings Plugin releases, from 13.10251.va_452d3553728 through 13.10365.v85cd7a_c8110b_. Inline Groovy parsers can be stored in job configuration, and the vulnerable versions parsed them on the controller for validation. An attacker able to define such a parser could execute arbitrary controller-JVM code. The fix stops parsing the inline script on the controller.
The two paths start from different content and permissions, but both violate the desired controller boundary. Search for repositories containing the Maven extensions file where auto-injection is active, and enumerate jobs using inline Warnings parsers. Review who changed those files or configurations during the affected period. Running normal build steps on agents does not neutralize a plugin that deliberately processes attacker-influenced content on the controller.
Configuration Validation Could Return Secrets
CVE-2026-136840 affects Configuration as Code Plugin 2134.ve13a_2fc90835 through 2147.v8a_8d38668c72, except 2140.2142.v3836c98f1b_30. Its validation endpoint resolved variables in submitted YAML before deciding whether the resulting value was valid. If validation failed, the response could include a resolved file, environment variable, system property or configured secret-source value.
The vulnerable endpoint is available to users with Overall/SystemRead only when that optional permission is enabled and granted. Jenkins warns that arbitrary controller-file reads can lead to remote code execution through other established Jenkins behaviors. Version and permission must both be checked. A controller is not exposed through this path merely because it has the plugin, and removing the permission is a containment step rather than a substitute for installing 2148.v9d0c041b_a_13c.
Review access logs for calls to configuration validation, permission assignments and errors that may have returned expanded values. Identify every secret source and environment variable available to the controller process. Rotate a credential when evidence shows its usable value may have been returned or subsequent activity suggests misuse; do not claim that every stored secret was exposed without that evidence. Keep Overall/SystemRead limited to users who need its documented system-inspection capability.
The Remaining Fixes Still Map To Real Permissions
Subversion Plugin restricted Sventon browser validation to HTTP and HTTPS after two medium findings allowed users with Item/Configure to probe controller file paths. Performance Plugin now rejects non-web URL schemes in Taurus report links, closing stored cross-site scripting for attackers controlling a processed report. Jenkins notes that its newer Content Security Policy can mitigate that XSS path, but the plugin update remains the direct fix.
Nested View now requires POST for view creation. Spira Importer adds both a POST requirement and Overall/Administer to an endpoint that previously let users with Overall/Read direct controller connections to an attacker-selected URL. Pipeline DORA Metrics adds Item/Read checks across endpoints that exposed build statistics, stage names and operational metrics for otherwise hidden jobs. Rich Text Publisher now escapes job names in error output used by its portlet.
These issues should not be collapsed into one maximum-severity story. Map each installed plugin to its attacker prerequisite and data or action at risk. Audit users with Job/Configure, Item/Configure, Overall/SystemRead, View/Configure and broad Overall/Read access. Jenkins documentation notes that Overall/Read users are treated as legitimate and that plugin endpoints can accidentally grant them more reach, which is why routine permission review matters even after the published endpoints are fixed.
Controller Evidence Determines Recovery Scope
The advisory does not state that any of the flaws were exploited. Preserve controller HTTP access logs, audit records, job configuration history, Pipeline changes, plugin installation records and relevant source-control history before routine cleanup. Look for unexpected sandboxed Pipeline definitions, inline Warnings parsers, configuration-validation calls, changes to plugin files, unexplained controller restarts, unusual outbound requests and secret use from new locations.
If review finds only vulnerable versions and no suspicious activity, update, restart where required, verify the running plugin list and tighten the permissions that supplied the published prerequisites. Keep builds off the built-in node and retain Agent to Controller access controls. Jenkins' isolation guidance explains that agent separation protects the controller from ordinary build behavior, although it cannot by itself fix a plugin that evaluates data inside the controller JVM.
Confirmed controller code execution is a supply-chain incident. Replace or restore the controller from a known-good state, rotate credentials and secret-source values it could access, inspect connected agents and validate artifacts produced after the earliest credible compromise time. Jenkins documents that controller-level secrets can grant access to external repositories, cloud services and databases. Record which artifacts were rebuilt and which credentials were revoked so consumers can make evidence-based trust decisions.
Checklist
- Export installed plugin short names and running versions from every Jenkins controller before making changes.
- Compare all 11 advisory entries with their exact fixed floors, including plugins installed only as dependencies.
- Update affected plugins, complete required restarts and verify the versions reported by the running controller.
- Review Job/Configure, Item/Configure, Overall/SystemRead, View/Configure and broad Overall/Read grants.
- Search for unusual Pipeline constructs, inline Warnings parsers, Maven extension files and Configuration as Code validation calls.
- Keep builds off the built-in node, preserve Agent to Controller controls and scope credentials to the lowest practical level.
- If controller execution is confirmed, recover cleanly, rotate reachable secrets and rebuild or re-verify affected artifacts.
Sources
- Jenkins security advisory for November 25, 2026 open_in_new
- Jenkins ci.jenkins.io security maintenance notice open_in_new
- Jenkins documentation for managing and inventorying plugins open_in_new
- Jenkins permissions reference open_in_new
- Jenkins controller-isolation guidance open_in_new
- Jenkins in-process script approval and Groovy sandbox guidance open_in_new
- Jenkins credential protection guidance open_in_new
Continue Reading
NGINX Exploitation Warning Expands The Patch Boundary
Singapore's CSA says CVE-2026-123007 is reportedly exploited. Patch HTTP/2 paths, rebuild bundled copies and investigate worker crashes.
AirWave Critical Flaws Reach The Network Control Plane
HPE fixed three critical AirWave flaws, including unauthenticated command execution. Upgrade to 8.3.0.8, isolate management and review trust.
Hex.pm RCE Turns Registry Recovery Into A Trust Reset
Hex.pm says attackers ran commands on six web servers. Reset passwords and 2FA, use only repo.hex.pm and track the signing update.