CVE
CVE-2026-136834, CVE-2026-136835, CVE-2026-136837, CVE-2026-136840, CVE-2026-136836, CVE-2026-136842, CVE-2026-136854, CVE-2026-136838, CVE-2026-136839, CVE-2026-136841, CVE-2026-136843, CVE-2026-136844, CVE-2026-136845, CVE-2026-136846, CVE-2026-136847, CVE-2026-136848, CVE-2026-136849, CVE-2026-136850, CVE-2026-136851, CVE-2026-136852, CVE-2026-136853
CWE
CWE-693, CWE-94, CWE-611, CWE-200, CWE-79, CWE-352, CWE-862, CWE-918
Affected Surface
- Jenkins Pipeline: Groovy plugin (`org.jenkins-ci.plugins.workflow:workflow-cps`) 4403.v471713a_cea_19 and earlier (CVE-2026-136834)
- Jenkins Script Security plugin (`org.jenkins-ci.plugins:script-security`) 1436.v1082791135e4 and earlier (CVE-2026-136835)
- Jenkins Warnings plugin (`io.jenkins.plugins:warnings-ng`) 13.10251.va_452d3553728 through 13.10365.v85cd7a_c8110b_ (CVE-2026-136837)
- Jenkins Configuration as Code plugin 2134.ve13a_2fc90835 through 2147.v8a_8d38668c72 except 2140.2142.v3836c98f1b_30 (CVE-2026-136840), Gradle plugin 2.21.1282.v024680ce00a_b_ and earlier (CVE-2026-136836), and Subversion, Performance, Nested View, Pipeline DORA Metrics, Rich Text Publisher and Spira Importer plugins
TL;DR
On 25 November 2026 the Jenkins project published an advisory for 11 plugins. Three of the bugs give code execution in the controller JVM to anyone who can define a Pipeline. In practice that’s users with Job/Configure, plus anyone who can push a Jenkinsfile to a branch that a multibranch project builds.
- CVE-2026-136834, Pipeline: Groovy (
workflow-cps). The CPS transformer skipped interfaces entirely, so a field initializer declared inside an interface ran outside the sandbox. CISA’s enrichment scores it 8.8. About 237,000 instances report this plugin. - CVE-2026-136835, Script Security. The September fix for
@Builder(builderStrategy=...)(SECURITY-3925) only matched the annotation when it was written asBuilderorgroovy.transform.builder.Builder. Writing it as@builder.Builderafterimport groovy.transform.*got past the check. Jenkins notes it needs a suitable class on the classpath. CISA scores it 9.9. - CVE-2026-136837, Warnings NG. Since 13.10251.va_452d3553728 a job can define a Groovy parser inline. The plugin compiled that script on the controller to validate it, which runs
@Fieldinitializers and other compile-time code.
The rest of the advisory is lower impact but still worth patching: a file and secret read in Configuration as Code for users with Overall/SystemRead (CVE-2026-136840), an XXE in the Gradle plugin’s Develocity Maven auto-injection (CVE-2026-136836), stored XSS in Performance and Rich Text Publisher, an SSRF-style file probe in Subversion, and missing permission checks in Pipeline DORA Metrics, Nested View and Spira Importer.
The fixed versions reached the update center between 5 and 19 November, before the advisory went out, and the fix commits with their regression tests are public on GitHub. No public exploit repositories, in-the-wild reports or KEV entries existed on 25 November.
What to do now:
- Update Pipeline: Groovy to 4403.4405.va_b_cdb_b_d0b_89f and Script Security to 1436.1438.v3dc5ef7d16f2. The fixed Pipeline: Groovy needs Jenkins 2.568.1 or newer, so older LTS controllers have to upgrade core first.
- Update Warnings NG to 13.10365.10367.v2db_e2de17661 and Configuration as Code to 2148.v9d0c041b_a_13c if you run them, and Gradle to 2.22.1283.v53b_41fe4cb_d9 if you use Develocity Maven auto-injection.
- Until then, limit who can change Pipeline definitions and which branches multibranch projects build, and search existing Pipelines for the patterns in the detection section.
Affected packages and projects
| Ecosystem | Package | Affected versions | Fixed or safe version |
|---|---|---|---|
| Maven (Jenkins) | org.jenkins-ci.plugins.workflow:workflow-cps (CVE-2026-136834) | 4403.v471713a_cea_19 and earlier | 4403.4405.va_b_cdb_b_d0b_89f (17 November) |
| Maven (Jenkins) | org.jenkins-ci.plugins:script-security (CVE-2026-136835) | 1436.v1082791135e4 and earlier | 1436.1438.v3dc5ef7d16f2 (18 November) |
| Maven (Jenkins) | io.jenkins.plugins:warnings-ng (CVE-2026-136837) | 13.10251.va_452d3553728 to 13.10365.v85cd7a_c8110b_ | 13.10365.10367.v2db_e2de17661 (18 November) |
| Maven (Jenkins) | io.jenkins:configuration-as-code (CVE-2026-136840) | 2134.ve13a_2fc90835 to 2147.v8a_8d38668c72, except 2140.2142.v3836c98f1b_30 | 2148.v9d0c041b_a_13c (5 November) |
| Maven (Jenkins) | org.jenkins-ci.plugins:gradle (CVE-2026-136836) | 2.21.1282.v024680ce00a_b_ and earlier | 2.22.1283.v53b_41fe4cb_d9 (19 November) |
| Maven (Jenkins) | org.jenkins-ci.plugins:subversion (CVE-2026-136838, CVE-2026-136839) | 1327.vc36e0019a_653 and earlier | 1349.v15e470a_46048 |
| Maven (Jenkins) | org.jenkins-ci.plugins:performance (CVE-2026-136842) | 1024.ve69e11844523 and earlier | 1025.ve64297f8ccb_c |
| Maven (Jenkins) | org.jenkins-ci.plugins:rich-text-publisher-plugin (CVE-2026-136854) | 1.5 and earlier | 1.6 |
| Maven (Jenkins) | org.jenkins-ci.plugins:nested-view (CVE-2026-136841) | 241.v178f0b_a_cd76a_ and earlier | 262.v4e24ddfe477e |
| Maven (Jenkins) | io.jenkins.plugins:pipeline-dora-metrics (CVE-2026-136845 to CVE-2026-136853) | 40.vdfd2cb_f019d5 and earlier | 43.v0b_b_d09ef2440 |
| Maven (Jenkins) | com.inflectra.spiratest.plugins:inflectra-spira-integration (CVE-2026-136843, CVE-2026-136844) | 4.0.0 and earlier | 58.v33212b_f5b_2d1 |
Install counts from the Jenkins plugin site on 25 November: Script Security about 245,000, Pipeline: Groovy about 237,000, Gradle about 191,000, Subversion about 59,000, Configuration as Code about 39,000 and Warnings NG about 19,000.
Technical analysis
CVE-2026-136834: interfaces were never transformed
Pipeline scripts run through CpsTransformer, which rewrites the Groovy AST so every method call, property access and constructor goes through the sandbox’s interceptor. Its call() method returned early for interfaces, on the theory that an interface has nothing to execute. Groovy allows non-constant field initializers in interfaces, though, and they run in the interface’s static initializer. The fix (0715a5b) moves the early return below the field pass:
public void call(SourceUnit source, GeneratorContext context, ClassNode classNode) {
- if (classNode.isInterface()) {
- return; // not touching interfaces
- }
this.sourceUnit = source;
this.classNode = classNode;
...
for (FieldNode field : new ArrayList<>(classNode.getFields())) {
visitNontransformedField(field);
}
+
+ if (classNode.isInterface()) {
+ // Interfaces (including annotation types) cannot declare method bodies, constructors, or
+ // object initializers in Groovy 2.4, so there is nothing left to instrument once field
+ // initializers -- the only executable interface member -- have been visited above.
+ return;
+ }
The regression tests in the same commit show the attack. Each is a one-line sandboxed Pipeline:
interface I { def x = {Jenkins.instance.systemMessage = 'pwned'}() }; echo "${I.x}"
interface I { def x = new ProcessBuilder(['id']).start().waitFor() }; echo "${I.x}"
Reading I.x loads the interface, its static initializer runs, and before the fix neither Jenkins.getInstance() nor new ProcessBuilder went past the sandbox’s allowlist. With the fix both builds fail with RejectedAccessException, wrapped in ExceptionInInitializerError for the second one because the rejection happens inside <clinit>. Jenkins credits parameter.ai with the report.
CVE-2026-136835: @builder.Builder slipped past the September fix
Groovy’s @Builder takes a builderStrategy class, and BuilderASTTransformation instantiates that class at compile time, before the sandbox applies. In September Jenkins fixed this as SECURITY-3925 (CVE-2026-92126) by rejecting custom strategies in RejectASTTransformsCustomizer. That check resolved the annotation name with resolvedNameIn(), which only treated two spellings as Builder: a fully qualified name, or a short name matched through an import. Groovy also completes partly qualified names from star imports and the package declaration, so these all name the same annotation:
import groovy.transform.*
@builder.Builder(builderStrategy=SomeClassWithASideEffectingConstructor)
class Foo { String name }
package groovy.transform.builder
@Builder(builderStrategy=SomeClassWithASideEffectingConstructor)
class Foo { String name }
The fix (dd9b8bb) adds mayReferTo(), which tries every prefix Groovy would try and fails closed:
+ private static boolean mayReferTo(String name, Set<String> candidates, @CheckForNull ModuleNode module) {
+ if (candidates.contains(name)) {
+ return true;
+ }
...
+ // A star import or the package declaration supplies the rest. Both already end with a dot.
+ for (ImportNode imp : module.getStarImports()) {
+ if (imp.getPackageName() != null && candidates.contains(imp.getPackageName() + name)) {
+ return true;
+ }
+ }
+ return module.getPackageName() != null && candidates.contains(module.getPackageName() + name);
+ }
...
- if (resolvedNameIn(an.getClassNode().getName(), BUILDER_ANNOTATIONS, source.getAST(), true)) {
+ if (mayReferTo(an.getClassNode().getName(), BUILDER_ANNOTATIONS, source.getAST())) {
The attacker still needs a class on the classpath whose no-argument constructor does something useful, which is why Jenkins describes it as “the rare case”. The advisory says it affects sandboxed scripts “including Pipelines”, so any plugin that runs user Groovy through Script Security’s sandbox is in scope, not just Pipeline.
CVE-2026-136837: Warnings NG compiled the parser to check it
Warnings NG lets a job define a log parser with a regular expression and a Groovy script. Since 13.10251.va_452d3553728 that parser can be declared inline in the job. GroovyParser.createParser() validated the script by calling descriptor.checkScript(script) on the controller, and compiling a Groovy script is enough to run code: AST transformations such as @groovy.transform.Field execute initializers. The fix (7b89de2) removes the check:
var scriptCheck = descriptor.checkScript(script);
- if (scriptCheck.kind == Kind.ERROR) {
- throw new IllegalArgumentException("Script is not valid: " + scriptCheck.getMessage());
- }
The new integration test is the proof of concept. A Pipeline running on an agent writes a file on the controller:
recordIssues tools: [groovyScript(
pattern: '**/*issues.txt',
parser: [
id: 'poc', name: 'PoC', regexp: '(.*)', example: '',
script: '''@groovy.transform.Field def x = new File("/tmp/pwned.txt").text = "RCE-CONFIRMED"
return builder.setMessage("ok").buildOptional()'''
])]
Before the fix /tmp/pwned.txt appeared on the controller. NguyenCuong reported it.
CVE-2026-136840: Configuration as Code’s check endpoint resolved secrets
CasC exposes an endpoint that validates a submitted YAML document for users with Overall/SystemRead. Affected versions resolved ${...} variables before validating, including file reads, environment variables, system properties and configured secret sources, and put the resolved value in the error when it didn’t fit. The fix (9d0c041) turns resolution off for anyone without Overall/Administer:
+ final boolean resolveSecrets = Jenkins.get().hasPermission(Jenkins.ADMINISTER);
+
try {
- final Map<Source, String> validationIssues = checkWith(YamlSource.of(req));
+ final Map<Source, String> validationIssues =
+ checkWith(Collections.singletonList(YamlSource.of(req)), resolveSecrets);
This only matters on controllers that have enabled the optional Overall/SystemRead permission and granted it to users. Where that’s the case, Jenkins points out that reading arbitrary controller files can lead to remote code execution.
The other fixes
- Gradle plugin, CVE-2026-136836. With Develocity Maven auto-injection enabled, the controller parses
.mvn/extensions.xmlfrom the workspace on checkout without disabling external entities, so anyone who controls repository contents can read controller files or make it send requests. - Performance, CVE-2026-136842. Taurus XML report links accepted
javascript:URLs (stored XSS). Content Security Policy enforcement on Jenkins 2.539+ or LTS 2.541.1+ mitigates it. - Rich Text Publisher, CVE-2026-136854. Job names weren’t escaped in portlet error messages (stored XSS, needs View/Configure).
- Subversion, CVE-2026-136838 and CVE-2026-136839. Sventon repository-browser form validation accepted non-HTTP URLs, letting users with Item/Configure test whether paths exist on the controller.
- Pipeline DORA Metrics, Nested View, Spira Importer. Missing permission checks and CSRF on several endpoints.
IOCs
These are plugin vulnerabilities, not a malware campaign, so there are no domains, IPs or hashes. Signs that someone tried them:
- Pipeline scripts or
Jenkinsfiles that declare aninterfacewith fields initialized from method calls, closures ornew, especially calls toJenkins.instance,ProcessBuilder,RuntimeorFile - Groovy anywhere in Jenkins that uses
@builder.Builder,@transform.builder.Builderor apackage groovy.transformdeclaration together withbuilderStrategy= recordIssuessteps with an inlinegroovyScript(...)parser whosescriptuses@Fieldor makes file or process callsPOSTrequests to/configuration-as-code/checkfrom accounts that aren’t administrators, and YAML bodies containing${readFile:,${file:or${sysProp:lookups.mvn/extensions.xmlfiles with a<!DOCTYPEor<!ENTITYdeclaration in repositories that Jenkins builds
Detection and remediation
Check installed plugin versions with the REST API (needs an API token with Overall/Read):
curl -s -u "$JENKINS_USER:$JENKINS_TOKEN" \
"$JENKINS_URL/pluginManager/api/json?depth=1&tree=plugins[shortName,version]" |
jq -r '.plugins[] | select(.shortName | test("^(workflow-cps|script-security|warnings-ng|configuration-as-code|gradle|subversion|performance|rich-text-publisher-plugin|nested-view|pipeline-dora-metrics|inflectra-spira-integration)$")) | "\(.shortName) \(.version)"'
# Core version (the fixed Pipeline: Groovy needs 2.568.1 or newer)
curl -sI "$JENKINS_URL/login" | grep -i '^x-jenkins:'
If you build controller images with plugins.txt, pin the fixed versions:
jenkins-plugin-cli --plugins \
workflow-cps:4403.4405.va_b_cdb_b_d0b_89f \
script-security:1436.1438.v3dc5ef7d16f2 \
warnings-ng:13.10365.10367.v2db_e2de17661 \
configuration-as-code:2148.v9d0c041b_a_13c \
gradle:2.22.1283.v53b_41fe4cb_d9
Hunt existing Pipelines and repositories:
# Inline Pipeline scripts stored in job configs on the controller
grep -rlE 'interface[[:space:]]+[A-Za-z_]+[[:space:]]*\{' "$JENKINS_HOME"/jobs --include=config.xml
grep -rlE 'builder\.Builder|builderStrategy' "$JENKINS_HOME"/jobs --include=config.xml
grep -rl 'groovyScript' "$JENKINS_HOME"/jobs --include=config.xml
# Jenkinsfiles and shared libraries in your repositories
git grep -nE '^[[:space:]]*interface[[:space:]]+[A-Za-z_]+' -- '*Jenkinsfile*' 'vars/*.groovy' 'src/**/*.groovy'
git grep -nE '@(transform\.)?builder\.Builder|builderStrategy' -- '*.groovy' '*Jenkinsfile*'
git grep -nE '<!(DOCTYPE|ENTITY)' -- '.mvn/extensions.xml'
# CasC check endpoint use in the access log of the reverse proxy in front of Jenkins
sudo zgrep -h 'POST /configuration-as-code/check' /var/log/nginx/access.log* 2>/dev/null | tail -20
If you find signs of exploitation, treat the controller as compromised. Code in the controller JVM can decrypt every stored credential, so rotate everything in the Jenkins credential store, cloud and registry tokens used by jobs, agent secrets, users’ API tokens and secrets/master.key-protected values. Then review recent changes to jobs, users, init.groovy.d and installed plugins.
Timeline
- 2026-09-16: Jenkins fixes SECURITY-3925 in Script Security 1422.v06869826dd9b_, including the first
@BuilderbuilderStrategycheck (CVE-2026-92126). - 2026-11-05: Configuration as Code 2148.v9d0c041b_a_13c is released.
- 2026-11-17: Pipeline: Groovy 4403.4405.va_b_cdb_b_d0b_89f is released.
- 2026-11-18: Script Security 1436.1438.v3dc5ef7d16f2 and Warnings NG 13.10365.10367.v2db_e2de17661 are released.
- 2026-11-19: Gradle plugin 2.22.1283.v53b_41fe4cb_d9 is released.
- 2026-11-25: Jenkins publishes the security advisory and posts it to oss-security. The CVE records (CVE-2026-136834 to CVE-2026-136854) are published at 16:43 UTC, and CISA’s enrichment scores CVE-2026-136834 and CVE-2026-136837 at 8.8 and CVE-2026-136835 at 9.9.
References
- Jenkins Security Advisory 2026-11-25
- workflow-cps-plugin commit 0715a5b (SECURITY-4152)
- script-security-plugin commit dd9b8bb (SECURITY-4278)
- warnings-ng-plugin commit 7b89de2 (SECURITY-4325)
- configuration-as-code-plugin commit 9d0c041 (SECURITY-4429)
- Jenkins Security Advisory 2026-09-16
- oss-security: Multiple vulnerabilities in Jenkins plugins
- NVD: CVE-2026-136834
- NVD: CVE-2026-136835
- NVD: CVE-2026-136837
From research to remediation
Check whether this pattern exists in your codebase
Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.
References
- Jenkins Security Advisory 2026-11-25
- jenkinsci/workflow-cps-plugin commit 0715a5b: [SECURITY-4152]
- jenkinsci/script-security-plugin commit dd9b8bb: [SECURITY-4278]
- jenkinsci/warnings-ng-plugin commit 7b89de2: [SECURITY-4325]
- jenkinsci/configuration-as-code-plugin commit 9d0c041: SECURITY-4429
- Jenkins Security Advisory 2026-09-16 (SECURITY-3925, the earlier @Builder fix)
- oss-security: Multiple vulnerabilities in Jenkins plugins (25 November 2026)
- NVD: CVE-2026-136834
- NVD: CVE-2026-136835
- NVD: CVE-2026-136837