# CVE-2025-32016: Microsoft Identity Web Exposes Client Secrets and Certificate Information in Service Logs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-rpq8-q44m-2rpg
- **Published:** 2025-04-09T15:48:57.328Z
- **Modified:** 2026-06-17T09:11:19.573Z

## 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

## 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

- NuGet `Microsoft.Identity.Web`: affected \>= 3.2.0, \< 3.8.2; fixed 3.8.2 (osv)
- NuGet `Microsoft.Identity.Abstractions`: affected \>= 7.1.0, \< 9.0.0; fixed 9.0.0 (osv)
- AzureAD microsoft-identity-web: \>= 3.2.0, \< 3.8.2 (cvelist)

## Mitigation

- Upgrade Microsoft.Identity.Web to 3.8.2 or later.
- Upgrade Microsoft.Identity.Abstractions to 9.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/AzureAD/microsoft-identity-web/security/advisories/GHSA-rpq8-q44m-2rpg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-32016>
- other: <https://github.com/AzureAD/microsoft-identity-web>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-32016>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rpq8-q44m-2rpg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-32016> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-32016>
