CVE-2025-32016
Microsoft Identity Web Exposes Client Secrets and Certificate Information in Service Logs
Also known as GHSA-rpq8-q44m-2rpg
Mitigation
- Upgrade Microsoft.Identity.Web to 3.8.2 or later.
- Upgrade Microsoft.Identity.Abstractions to 9.0.0 or later.
Who should check
- Projects that depend on NuGet package Microsoft.Identity.Web (>= 3.2.0, < 3.8.2)
- Projects that depend on NuGet package Microsoft.Identity.Abstractions (>= 7.1.0, < 9.0.0)
- Anyone running AzureAD microsoft-identity-web >= 3.2.0, < 3.8.2
Vulnerability facts
- Affected
- Microsoft.Identity.Web >= 3.2.0, < 3.8.2; Microsoft.Identity.Abstractions >= 7.1.0, < 9.0.0
- Fixed in
- 3.8.2, 9.0.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.13% chance of exploitation in 30 days (percentile 1, 2026-11-26)
- CWE
- CWE-532
- Modified
Description
Microsoft Identity Web is a library which contains a set of reusable classes used in conjunction with ASP.NET Core for integrating with the Microsoft identity platform (formerly Azure AD v2.0 endpoint) and AAD B2C. This vulnerability affects confidential client applications, including daemons, web apps, and web APIs. Under specific circumstances, sensitive information such as client secrets or certificate details may be exposed in the service logs of these applications. Service logs are intended to be handled securely. Service logs generated at the information level or credential descriptions containing local file paths with passwords, Base64 encoded values, or Client secret. Additionally, logs of services using Base64 encoded certificates or certificate paths with password credential descriptions are also affected if the certificates are invalid or expired, regardless of the log level. Note that these credentials are not usable due to their invalid or expired status. To mitigate this vulnerability, update to Microsoft.Identity.Web 3.8.2 or Microsoft.Identity.Abstractions 9.0.0.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NuGet Microsoft.Identity.Web | >= 3.2.0, < 3.8.2 | 3.8.2 | osv |
| NuGet Microsoft.Identity.Abstractions | >= 7.1.0, < 9.0.0 | 9.0.0 | osv |
| AzureAD microsoft-identity-web | >= 3.2.0, < 3.8.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-32016. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-32016.md Affected: Microsoft.Identity.Web >= 3.2.0, < 3.8.2; Microsoft.Identity.Abstractions >= 7.1.0, < 9.0.0 Fixed in: 3.8.2, 9.0.0 Steps: 1. Search this machine and project for Microsoft.Identity.Web (NuGet), Microsoft.Identity.Abstractions (NuGet), AzureAD microsoft-identity-web: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-32016 being exploited?
There is no confirmed exploitation: CVE-2025-32016 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-32016?
Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-32016?
Microsoft.Identity.Web >= 3.2.0, < 3.8.2; Microsoft.Identity.Abstractions >= 7.1.0, < 9.0.0.
Is there a fix for CVE-2025-32016?
Yes. Fixed in 3.8.2, 9.0.0. Upgrade Microsoft.Identity.Web to 3.8.2 or later. Upgrade Microsoft.Identity.Abstractions to 9.0.0 or later.
How do I check if I'm affected by CVE-2025-32016?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.