Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/azure-ad

PACKAGE
Advisory Identifier: GHSA-jp6g-g3v3-6gvf
Advisory Summary

CVE-2026-42525 is a MODERATE (CVSS 4.3) jenkins microsoft entra id (previously vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Azure ad libraries in the Maven ecosystem. The issue involves jenkins microsoft entra id (previously azure ad) plugin has an open redirect vulnerability. Remediation is available by upgrading affected packages to version 667.v4c5827a.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/azure-ad

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/azure-ad. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jp6g-g3v3-6gvf CVE-2026-42525 MODERATE Jenkins Microsoft Entra ID (previously Azure AD) Plugin has an open redirect vulnerability
GHSA-hj7p-h74j-6gxj CVE-2023-41935 HIGH Non-constant time nonce comparison in Jenkins Microsoft Entra ID (previously Azure AD) Plugin
GHSA-x77r-7m5w-pqq2 CVE-2021-21679 HIGH Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
GHSA-jcwj-j574-8j2c CVE-2019-10318 LOW Jenkins Azure AD Plugin stored the client secret unencrypted
GHSA-939x-6mwj-96r2 CVE-2023-24426 HIGH Insufficient Session Expiration in Jenkins Azure AD Plugin
GHSA-vvg2-hg3c-mqj3 CVE-2020-2119 LOW Client secret transmitted in plain text by Azure AD Plugin

CVE-2026-42525 at a Glance

CVE Identifier CVE-2026-42525
GHSA Identifier GHSA-jp6g-g3v3-6gvf
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Azure ad
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-42525

To remediate this vulnerability, upgrade all affected Azure ad dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.jenkins-ci.plugins:azure-ad fixed: 667.v4c5827a
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>azure-ad</artifactId>
    <version>667.v4c5827a</version>
</dependency>
Verify Direct and Transitive Dependencies

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-42525, 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 Azure ad in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 667.v4c5827a), 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Azure ad, 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

Jenkins Microsoft Entra ID (previously Azure AD) Plugin versions 666.v6060de32f87d and earlier do not restrict the redirect URL after login. This allows attackers to perform phishing attacks by having users go to a Jenkins URL that will forward them to a different site after successful authentication. Microsoft Entra ID (previously Azure AD) Plugin 667.v4c5827a_e74a_0 only redirects to relative (Jenkins) URLs.

CVE-2026-42525 Affected Azure ad Versions

1 component(s)
Fixed Versions:
667.v4c5827a
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:azure-ad
Maven
< 667.v4c5827a
667.v4c5827a

References

Frequently Asked Questions

What is CVE-2026-42525?
CVE-2026-42525 is a security vulnerability in Azure ad involving Jenkins Microsoft Entra ID (previously Azure AD) Plugin has an open redirect vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Azure ad versions are affected?
Affected versions include releases prior to 667.v4c5827a across affected packages: org.jenkins-ci.plugins:azure-ad.
What version fixes CVE-2026-42525?
Upgrading to 667.v4c5827a (or the latest patched release for your respective branch) resolves the vulnerability.
Is azure-ad affected?
Yes, org.jenkins-ci.plugins:azure-ad is affected in releases prior to 667.v4c5827a. Upgrade your dependency to 667.v4c5827a or later.
What is the CVSS score of CVE-2026-42525?
CVE-2026-42525 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-42525?
CVE-2026-42525 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Maven dependencies for CVE-2026-42525?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.plugins'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jp6g-g3v3-6gvf",
  "modified" : "2026-05-06T22:56:44Z",
  "published" : "2026-04-29T15:30:39Z",
  "aliases" : [ "CVE-2026-42525" ],
  "summary" : "Jenkins Microsoft Entra ID (previously Azure AD) Plugin has an open redirect vulnerability",
  "details" : "Jenkins Microsoft Entra ID (previously Azure AD) Plugin versions 666.v6060de32f87d and earlier do not restrict the redirect URL after login.\n\nThis allows attackers to perform phishing attacks by having users go to a Jenkins URL that will forward them to a different site after successful authentication.\n\nMicrosoft Entra ID (previously Azure AD) Plugin 667.v4c5827a_e74a_0 only redirects to relative (Jenkins) URLs.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:azure-ad"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "667.v4c5827a"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 666.v6060de32f87d"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42525"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/azure-ad-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2026-04-29/#SECURITY-3760"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T22:56:44Z",
    "nvd_published_at" : "2026-04-29T14:16:19Z"
  }
}