CVE-2024-35255 — Vulnerability in Microsoft.Identity.Client
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.65%). Schedule for your next planned update.
Does your project use an affected Microsoft.Identity.Client version?
Paste your packages.lock.json to check it for CVE-2024-35255 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability.
Advisory Timeline
- First published June 11, 2024 (898 days ago).
- Last revised September 10, 2026 — 820 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Microsoft.Identity.Client --version 4.61.3
npm install @azure/identity@4.2.1
dotnet add package Azure.Identity --version 1.11.4
pip install "azure-identity>=1.16.1"
dotnet add package Microsoft.Identity.Client --version 4.60.4
<!-- Update pom.xml dependency version to 1.12.2 for com.azure:azure-identity -->
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.6.0-beta.4.0.20240610221955-50774cd97099
<!-- Update pom.xml dependency version to 1.15.1 for com.microsoft.azure:msal4j -->
npm install @azure/msal-node@2.9.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (9)
Affects 5 ecosystems: Maven (2), npm (2), NuGet (2), Go (1), PyPI (1).
| Package | Fixed In |
|---|---|
| Microsoft.Identity.Client NuGet · Affected: 4.61.0, 4.61.1, 4.61.2 | 4.61.3 |
| @azure/identity npm · Affected: All versions | 4.2.1 |
| Azure.Identity NuGet · Affected: 1.0.0, 1.1.0, 1.1.1, 1.10.0 (+23 more) | 1.11.4 |
| azure-identity PyPI · Affected: 1.0.0, 1.0.0b1, 1.0.0b2, 1.0.0b3 (+57 more) | 1.16.1 |
| Microsoft.Identity.Client NuGet · Affected: 4.49.1, 4.50.0, 4.51.0, 4.52.0 (+16 more) | 4.60.4 |
| com.azure:azure-identity Maven · Affected: 1.0.0, 1.0.0-preview.1, 1.0.0-preview.2, 1.0.0-preview.3 (+92 more) | 1.12.2 |
| github.com/Azure/azure-sdk-for-go/sdk/azidentity Go · Affected: All versions | 1.6.0-beta.4.0.20240610221955-50774cd97099 |
| com.microsoft.azure:msal4j Maven · Affected: 1.14.4-beta, 1.15.0 | 1.15.1 |
| @azure/msal-node npm · Affected: All versions | 2.9.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-362
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-35255ADVISORY
- https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4806#issuecomment-2178960340WEB
- https://github.com/Azure/azure-sdk-for-go/commit/50774cd9709905523136fb05e8c85a50e8984499WEB
- https://github.com/Azure/azure-sdk-for-java/commit/5bf020d6ea056de40e2738e3647a4e06f902c18dWEB
- https://github.com/Azure/azure-sdk-for-js/commit/c6aa75d312ae463e744163cedfd8fc480cc8d492WEB
- https://github.com/Azure/azure-sdk-for-net/commit/9279a4f38bf69b457cfb9b354f210e0a540a5c53WEB
- https://github.com/Azure/azure-sdk-for-python/commit/cb065acd7d0f957327dc4f02d1646d4e51a94178WEB
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-35255WEB
Frequently Asked Questions
- What is CVE-2024-35255?
- Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.5/10).
- How do I check if my project is affected by CVE-2024-35255?
- CVE-2024-35255 affects Microsoft.Identity.Client, @azure/identity and Azure.Identity (and 5 more). It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-35255 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 45.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-36414HIGH
Azure Identity SDK Remote Code Execution Vulnerability
- CVE-2026-26118HIGH
Azure MCP Server has Server-Side Request Forgery issue that allows authorized attacker to elevate privileges over a network
- CVE-2026-129221MEDIUM
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
- CVE-2026-128140MEDIUM
NLTK: Downloader cyclic collection indices cause an infinite closure walk
- CVE-2024-29992MEDIUM
Azure Identity Library for .NET Information Disclosure Vulnerability