# CVE-2024-35255: Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability

> Attackers can exploit a race condition in Azure Identity and MSAL libraries to achieve privilege escalation.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 11 Jun 2024
- **Updated:** 10 Aug 2026
- **Also known as:** AZL-42637, AZL-42646, AZL-42649, AZL-42655, AZL-42664, AZL-42789, AZL-42799, AZL-43323, CLEANSTART-2026-BO10276, CLEANSTART-2026-TQ69146, CLSA-2026-1781139209, ECHO-d26c-33fc-9077, GHSA-m5vv-6r4h-3vj9, GO-2024-2918, MINI-2hw7-687c-r5j4, MINI-34q6-m8g2-w2h6, MINI-3mwq-fgw6-q8gc, MINI-g24v-f93h-8x4g, MINI-j9pj-fmmc-m75c, MINI-m3h4-9q4g-53p2, MINI-p238-37j2-j3hv, OESA-2025-2066, OESA-2025-2069, OESA-2025-2070, PYSEC-2026-1209, SUSE-SU-2024:3345-1, SUSE-SU-2025:0750-1, openSUSE-SU-2024:14048-1, openSUSE-SU-2024:14362-1, openSUSE-SU-2026:11999-1

## What is CVE-2024-35255?

CVE-2024-35255 is a medium-severity vulnerability in Microsoft Azure Identity Library, published on 11 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability

Weakness: CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization)

## Which versions are affected by CVE-2024-35255?

20 open source packages ship an affected version, including Microsoft.Identity.Client, github.com/Azure/azure-sdk-for-go/sdk/azidentity and com.azure:azure-identity. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `Microsoft.Identity.Client` | NuGet | From 4.49.1 | 4.60.4 |
| `Microsoft.Identity.Client` | NuGet | From 4.49.1 | 4.60.4 |
| `Microsoft.Identity.Client` | NuGet | From 4.61.0 | 4.61.3 |
| `Microsoft.Identity.Client` | NuGet | From 4.61.0 | 4.61.3 |
| `github.com/Azure/azure-sdk-for-go/sdk/azidentity` | Go | All versions | 1.6.0 |
| `github.com/Azure/azure-sdk-for-go/sdk/azidentity` | Go | All versions | 1.6.0-beta.4.0.20240610221955-50774cd97099 |
| `github.com/Azure/azure-sdk-for-go/sdk/azidentity` | Go | All versions | 1.6.0-beta.4.0.20240610221955-50774cd97099 |
| `com.azure:azure-identity` | Maven | All versions | 1.12.2 |
| `com.azure:azure-identity` | Maven | All versions | 1.12.2 |
| `com.microsoft.azure:msal4j` | Maven | From 1.14.4-beta | 1.15.1 |
| `com.microsoft.azure:msal4j` | Maven | From 1.14.4-beta | 1.15.1 |
| `Azure.Identity` | NuGet | All versions | 1.11.4 |
| `Azure.Identity` | NuGet | All versions | 1.11.4 |
| `azure-identity` | PyPI | All versions | 1.16.1 |
| `azure-identity` | PyPI | All versions | 1.16.1 |
| `azure-identity` | PyPI | All versions | 1.16.1 |
| `@azure/identity` | npm | All versions | 4.2.1 |
| `@azure/identity` | npm | All versions | 4.2.1 |
| `@azure/msal-node` | npm | From 2.7.0 | 2.9.2 |
| `@azure/msal-node` | npm | From 2.7.0 | 2.9.2 |
| `python-azure-identity` | SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 1.10.0.0-150200.6.7.1 |
| `python-azure-identity` | SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 1.10.0.0-150200.6.7.1 |
| `python-azure-identity` | SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 1.15.0-150400.11.6.1 |
| `python-azure-identity` | SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 1.10.0.0-150200.6.7.1 |
| `python-azure-identity` | SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 1.15.0-150400.11.6.1 |
| `python-azure-identity` | SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | All versions | 1.10.0.0-150200.6.7.1 |
| `python-azure-identity` | SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | All versions | 1.15.0-150400.11.6.1 |
| `python-azure-identity` | openSUSE:Leap 15.5 | All versions | 1.15.0-150400.11.6.1 |
| `python-azure-identity` | openSUSE:Leap 15.6 | All versions | 1.10.0.0-150200.6.7.1 |
| `python-azure-identity` | openSUSE:Leap 15.6 | All versions | 1.15.0-150400.11.6.1 |
| `python-azure-identity` | openSUSE:Tumbleweed | All versions | 1.18.0-1.1 |
| `python-azure-identity` | openSUSE:Tumbleweed | All versions | 1.25.3-1.3 |
| `teleport` | openSUSE:Tumbleweed | All versions | 15.4.3-1.1 |

Products: Microsoft Authentication Library, Microsoft Azure Identity Sdk.

## How do I fix CVE-2024-35255?

Upgrade Microsoft.Identity.Client to a fixed version for your release line: 4.60.4 or 4.61.3.

## Is CVE-2024-35255 being exploited?

There is no known exploitation of CVE-2024-35255 in the wild and no public exploit code.

## Other vulnerabilities in Microsoft Azure Identity Library

- [CVE-2019-1487](https://insights.sbomify.com/CVE-2019-1487/): Information disclosure in Microsoft Authentication Library (MSAL) for Android (medium 6.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-35255 and fix it if it is affected.

What it is: CVE-2024-35255 is a medium-severity vulnerability in Microsoft Azure Identity Library, published on 11 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-35255 in the wild and no public exploit code.

Affected packages and fixed versions:
- Microsoft.Identity.Client (NuGet): affected from 4.49.1; fixed in 4.60.4
- Microsoft.Identity.Client (NuGet): affected from 4.49.1; fixed in 4.60.4
- Microsoft.Identity.Client (NuGet): affected from 4.61.0; fixed in 4.61.3
- Microsoft.Identity.Client (NuGet): affected from 4.61.0; fixed in 4.61.3
- github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go): affected all versions; fixed in 1.6.0
- github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go): affected all versions; fixed in 1.6.0-beta.4.0.20240610221955-50774cd97099
- github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go): affected all versions; fixed in 1.6.0-beta.4.0.20240610221955-50774cd97099
- com.azure:azure-identity (Maven): affected all versions; fixed in 1.12.2
- com.azure:azure-identity (Maven): affected all versions; fixed in 1.12.2
- com.microsoft.azure:msal4j (Maven): affected from 1.14.4-beta; fixed in 1.15.1
- com.microsoft.azure:msal4j (Maven): affected from 1.14.4-beta; fixed in 1.15.1
- Azure.Identity (NuGet): affected all versions; fixed in 1.11.4

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-35255/ (Markdown: https://insights.sbomify.com/CVE-2024-35255/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-35255
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-35255
- OSV: https://osv.dev/vulnerability/CVE-2024-35255

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-35255/
Summaries are generated and may contain mistakes; the official description above is the record.
