Authentication Bypass in passport-azure-ad
Affected versions of passport-azure-ad do not recognize the validateIssuer setting, which allows remote attackers to bypass authentication via a crafted token.
Recommendation
Version 1.x: Update to version 1.4.6 or later. Version 2.x: Update to version 2.0.1 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | passport-azure-ad | >= 1.0.0, < 1.4.6, >= 2.0.0, < 2.0.1 | 1.4.6, 2.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-7191
- https://github.com/AzureAD/passport-azure-ad
- https://github.com/AzureAD/passport-azure-ad/blob/master/SECURITY-NOTICE.MD
- https://github.com/advisories/GHSA-73jp-3c67-hjfv
- https://support.microsoft.com/en-us/kb/3187742
- https://support.microsoft.com/kb/3187742
- https://www.npmjs.com/advisories/151
- http://www.securityfocus.com/bid/93213
- http://www.securitytracker.com/id/1036996
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-287- Platform
- npm
- Package
passport-azure-ad- Disclosed
- 26.07.2018
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-73jp-3c67-hjfv - CC BY 4.0
Vulnerability history: passport-azure-ad
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.