Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/matrix-auth
PACKAGECVE-2026-42521 is a MODERATE (CVSS 6.5) unsafe deserialization allows invocation of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Matrix auth libraries in the Maven ecosystem. The issue involves unsafe deserialization allows invocation of parameterless constructors. Remediation is available by upgrading affected packages to version 3.2.10.
pkg:maven/org.jenkins-ci.plugins/matrix-auth
Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/matrix-auth. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jp9r-mmhw-vff3 | CVE-2026-42521 | MODERATE | Jenkins Matrix Authorization Strategy Plugin: Unsafe deserialization allows invocation of parameterless constructors |
| GHSA-96jw-3xw4-mq9p | CVE-2021-21623 | MODERATE | Incorrect permission checks in Jenkins Matrix Authorization Strategy Plugin may allow accessing some items |
| GHSA-vr6v-wjfw-rxcr | CVE-2020-2226 | HIGH | Stored XSS vulnerability in Jenkins Matrix Authorization Strategy Plugin |
CVE-2026-42521 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-42521
To remediate this vulnerability, upgrade all affected Matrix auth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>matrix-auth</artifactId>
<version>3.2.10</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-42521, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
Analyze the terminal output to locate any version of Matrix auth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.10), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Matrix auth, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-42521 Affected Matrix auth Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.plugins:matrix-auth
|
Maven |
≥ 2.0-beta-1
< 3.2.10
|
3.2.10
|
References
Frequently Asked Questions
What is CVE-2026-42521?
Which Matrix auth versions are affected?
What version fixes CVE-2026-42521?
Is matrix-auth affected?
What is the CVSS score of CVE-2026-42521?
What CWE is associated with CVE-2026-42521?
How can I check Maven dependencies for CVE-2026-42521?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jp9r-mmhw-vff3",
"modified" : "2026-05-06T22:47:11Z",
"published" : "2026-04-29T15:30:38Z",
"aliases" : [ "CVE-2026-42521" ],
"summary" : "Jenkins Matrix Authorization Strategy Plugin: Unsafe deserialization allows invocation of parameterless constructors",
"details" : "Jenkins Matrix Authorization Strategy Plugin 2.0-beta-1 through 3.2.9 (both inclusive) invokes parameterless constructors of classes specified in configuration when deserializing inheritance strategies, without restricting the classes that can be instantiated.\n\nThis can be abused by attackers with Item/Configure permission to instantiate arbitrary types, which may lead to information disclosure or other impacts depending on the classes available on the classpath.\n\nMatrix Authorization Strategy Plugin 3.2.10 verifies that the class being instantiated is an inheritance strategy implementation, preventing instantiation of arbitrary types.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.plugins:matrix-auth"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0-beta-1"
}, {
"fixed" : "3.2.10"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.2.9"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42521"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/matrix-auth-plugin"
}, {
"type" : "WEB",
"url" : "https://www.jenkins.io/security/advisory/2026-04-29/#SECURITY-3676"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T22:47:11Z",
"nvd_published_at" : "2026-04-29T14:16:19Z"
}
}