Skip to main content

CVE-2024-35255 — Vulnerability in Microsoft.Identity.Client

MEDIUM

Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability

Published June 11, 2024Updated September 10, 2026Source: OSV

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.

Check my packages.lock.json

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.

NuGet
Update Microsoft.Identity.Client to 4.61.3 or later
dotnet add package Microsoft.Identity.Client --version 4.61.3
npm
Update @azure/identity to 4.2.1 or later
npm install @azure/identity@4.2.1
NuGet
Update Azure.Identity to 1.11.4 or later
dotnet add package Azure.Identity --version 1.11.4
pip
Update azure-identity to 1.16.1 or later
pip install "azure-identity>=1.16.1"
NuGet
Update Microsoft.Identity.Client to 4.60.4 or later
dotnet add package Microsoft.Identity.Client --version 4.60.4
Maven
Update com.azure:azure-identity to 1.12.2 or later
<!-- Update pom.xml dependency version to 1.12.2 for com.azure:azure-identity -->
Go
Update github.com/Azure/azure-sdk-for-go/sdk/azidentity to 1.6.0-beta.4.0.20240610221955-50774cd97099 or later
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.6.0-beta.4.0.20240610221955-50774cd97099
Maven
Update com.microsoft.azure:msal4j to 1.15.1 or later
<!-- Update pom.xml dependency version to 1.15.1 for com.microsoft.azure:msal4j -->
npm
Update @azure/msal-node to 2.9.2 or later
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).

PackageFixed In
Microsoft.Identity.Client NuGet · Affected: 4.61.0, 4.61.1, 4.61.24.61.3
@azure/identity npm · Affected: All versions4.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 versions1.6.0-beta.4.0.20240610221955-50774cd97099
com.microsoft.azure:msal4j Maven · Affected: 1.14.4-beta, 1.15.01.15.1
@azure/msal-node npm · Affected: All versions2.9.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

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

CVSS Score
5.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.65%
EPSS percentile: 45.6

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

GHSA-m5vv-6r4h-3vj9
GO-2024-2918
PYSEC-2026-1209

Related CVEs

  • CVE-2023-36414
    HIGH

    Azure Identity SDK Remote Code Execution Vulnerability

  • CVE-2026-26118
    HIGH

    Azure MCP Server has Server-Side Request Forgery issue that allows authorized attacker to elevate privileges over a network

  • CVE-2026-129221
    MEDIUM

    NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels

  • CVE-2026-128140
    MEDIUM

    NLTK: Downloader cyclic collection indices cause an infinite closure walk

  • CVE-2024-29992
    MEDIUM

    Azure Identity Library for .NET Information Disclosure Vulnerability

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json