CVE-2025-32016
Microsoft Identity Web Exposes Client Secrets and Certificate Information in Service Logs
Check your servers for CVE-2025-32016
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-32016 affects microsoft-identity-web, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.24% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 9 Apr 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-532 Insertion of Sensitive Information into Log File
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| microsoft-identity-web |
affected >= 3.2.0, < 3.8.2
|
Is my server affected?
Find the installed version of microsoft-identity-web and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i microsoft-identity-web
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-32016 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-32016RHEL, Rocky, Alma, Fedora
rpm -q microsoft-identity-web
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-32016Alpine
apk list --installed | grep -i microsoft-identity-webWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-32016
trivy image --scanners vuln IMAGE | grep CVE-2025-32016
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- https://github.com/AzureAD/microsoft-identity-web/security/advisories/GHSA-rpq8-q44m-2rpg github.com
Source: the record CVE-2025-32016 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.