CVE-2024-35255
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability
Also known as GHSA-m5vv-6r4h-3vj9, GO-2024-2918, PYSEC-2026-1209
Mitigation
- Upgrade azure-identity to 1.16.1 or later.
- Upgrade github.com/Azure/azure-sdk-for-go/sdk/azidentity to one of 1.6.0, 1.6.0-beta.4.0.20240610221955-50774cd97099 (or later in the same release line).
- Upgrade @azure/identity to 4.2.1 or later.
- Upgrade com.azure:azure-identity to 1.12.2 or later.
- Upgrade @azure/msal-node to 2.9.2 or later.
- Upgrade Microsoft.Identity.Client to one of 4.60.4, 4.61.3 (or later in the same release line).
- Upgrade com.microsoft.azure:msal4j to 1.15.1 or later.
- Upgrade Azure.Identity to 1.11.4 or later.
Who should check
- Projects that depend on PyPI package azure-identity (< 1.16.1)
- Projects that depend on Go package github.com/Azure/azure-sdk-for-go/sdk/azidentity (< 1.6.0)
- Projects that depend on npm package @azure/identity (< 4.2.1)
- Projects that depend on Maven package com.azure:azure-identity (< 1.12.2)
- Projects that depend on npm package @azure/msal-node (>= 2.7.0, < 2.9.2)
- Projects that depend on NuGet package Microsoft.Identity.Client (>= 4.49.1, < 4.60.4)
- Projects that depend on Maven package com.microsoft.azure:msal4j (>= 1.14.4-beta, < 1.15.1)
- Projects that depend on NuGet package Azure.Identity (< 1.11.4)
Vulnerability facts
- Affected
- azure-identity < 1.16.1; github.com/Azure/azure-sdk-for-go/sdk/azidentity < 1.6.0; @azure/identity < 4.2.1; com.azure:azure-identity < 1.12.2; @azure/msal-node >= 2.7.0, < 2.9.2; Microsoft.Identity.Client >= 4.49.1, < 4.60.4; com.microsoft.azure:msal4j >= 1.14.4-beta, < 1.15.1; Azure.Identity < 1.11.4
- Fixed in
- 1.16.1, 1.6.0, 1.6.0-beta.4.0.20240610221955-50774cd97099, 4.2.1, 1.12.2, 2.9.2, 4.60.4, 4.61.3, 1.15.1, 1.11.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- E: U
- RL: O
- RC: C
- EPSS
- 0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI azure-identity | < 1.16.1 | 1.16.1 | osv |
| Go github.com/Azure/azure-sdk-for-go/sdk/azidentity | < 1.6.0 | 1.6.0, 1.6.0-beta.4.0.20240610221955-50774cd97099 | osv |
| npm @azure/identity | < 4.2.1 | 4.2.1 | osv |
| Maven com.azure:azure-identity | < 1.12.2 | 1.12.2 | osv |
| npm @azure/msal-node | >= 2.7.0, < 2.9.2 | 2.9.2 | osv |
| NuGet Microsoft.Identity.Client | >= 4.49.1, < 4.60.4 | 4.60.4, 4.61.3 | osv |
| Maven com.microsoft.azure:msal4j | >= 1.14.4-beta, < 1.15.1 | 1.15.1 | osv |
| NuGet Azure.Identity | < 1.11.4 | 1.11.4 | osv |
| Microsoft Azure Identity Library | >= 1.0.0, < 1.6.0 | — | cvelist |
| Microsoft Azure Identity Library for .NET | >= 1.0.0, < 1.11.4 | — | cvelist |
| Microsoft Azure Identity Library for C++ | >= 1.0.0, < 1.8.0 | — | cvelist |
| Microsoft Azure Identity Library for Java | >= 1.0.0, < 1.12.2 | — | cvelist |
| Microsoft Azure Identity Library for JavaScript | >= 1.0.0, < 4.2.1 | — | cvelist |
| Microsoft Azure Identity Library for Python | >= 1.0.0, < 1.16.1 | — | cvelist |
| Microsoft Authentication Library | >= 1.0.0, < 1.15.1 | — | 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-2024-35255. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35255.md Affected: azure-identity < 1.16.1; github.com/Azure/azure-sdk-for-go/sdk/azidentity < 1.6.0; @azure/identity < 4.2.1; com.azure:azure-identity < 1.12.2; @azure/msal-node >= 2.7.0, < 2.9.2; Microsoft.Identity.Client >= 4.49.1, < 4.60.4; com.microsoft.azure:msal4j >= 1.14.4-beta, < 1.15.1; Azure.Identity < 1.1… Fixed in: 1.16.1, 1.6.0, 1.6.0-beta.4.0.20240610221955-50774cd97099, 4.2.1, 1.12.2, 2.9.2, 4.60.4, 4.61.3, 1.15.1, 1.11.4 Steps: 1. Search this machine and project for azure-identity (PyPI), github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go), @azure/identity (npm), com.azure:azure-identity (Maven), @azure/msal-node (npm), Microsoft.Identity.Client (NuGet): 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
Patches
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-35255
- https://github.com/Azure/azure-sdk-for-go/commit/50774cd9709905523136fb05e8c85a50e8984499
- https://github.com/Azure/azure-sdk-for-java/commit/5bf020d6ea056de40e2738e3647a4e06f902c18d
- https://github.com/Azure/azure-sdk-for-js/commit/c6aa75d312ae463e744163cedfd8fc480cc8d492
- https://github.com/Azure/azure-sdk-for-net/commit/9279a4f38bf69b457cfb9b354f210e0a540a5c53
- https://github.com/Azure/azure-sdk-for-python/commit/cb065acd7d0f957327dc4f02d1646d4e51a94178
FAQ
Is CVE-2024-35255 being exploited?
There is no confirmed exploitation: CVE-2024-35255 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35255?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-35255?
azure-identity < 1.16.1; github.com/Azure/azure-sdk-for-go/sdk/azidentity < 1.6.0; @azure/identity < 4.2.1; com.azure:azure-identity < 1.12.2; @azure/msal-node >= 2.7.0, < 2.9.2; Microsoft.Identity.Client >= 4.49.1, < 4.60.4; com.microsoft.azure:msal4j >= 1.14.4-beta, < 1.15.1; Azure.Identity < 1.11.4.
Is there a fix for CVE-2024-35255?
Yes. Fixed in 1.16.1, 1.6.0, 1.6.0-beta.4.0.20240610221955-50774cd97099, 4.2.1, 1.12.2, 2.9.2, 4.60.4, 4.61.3, 1.15.1, 1.11.4. Upgrade azure-identity to 1.16.1 or later. Upgrade github.com/Azure/azure-sdk-for-go/sdk/azidentity to one of 1.6.0, 1.6.0-beta.4.0.20240610221955-50774cd97099 (or later in the same release line). Upgrade @azure/identity to 4.2.1 or later. Upgrade com.azure:azure-identity to 1.12.2 or later. Upgrade @azure/msal-node to 2.9.2 or later. Upgrade Microsoft.Identity.Client to one of 4.60.4, 4.61.3 (or later in the same release line). Upgrade com.microsoft.azure:msal4j to 1.15.1 or later. Upgrade Azure.Identity to 1.11.4 or later.
How do I check if I'm affected by CVE-2024-35255?
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.