# Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability

Advisory record · `GHSA-m5vv-6r4h-3vj9`

- **Identifiers:** `GHSA-m5vv-6r4h-3vj9` · `CVE-2024-35255` · `GO-2024-2918` · `PYSEC-2026-1209`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-362](https://cwe.mitre.org/data/definitions/362.html)
- **Tags:** [Race condition](https://agentprime.io/advisories/tag/race-condition.md)
- **Published:** 11 Jun 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 11 Jun 2024, 18:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `azure-identity` (PyPI): affected `<1.16.1`; fixed in `1.16.1`
- `@azure/identity` (npm): affected `<4.2.1`; fixed in `4.2.1`
- `com.azure:azure-identity` (Maven): affected `<1.12.2`; fixed in `1.12.2`
- `@azure/msal-node` (npm): affected `>=2.7.0, <2.9.2`; fixed in `2.9.2`
- `Microsoft.Identity.Client` (NuGet): affected `>=4.49.1, <4.60.4 || >=4.61.0, <4.61.3`; fixed in `4.60.4`, `4.61.3`
- `github.com/Azure/azure-sdk-for-go/sdk/azidentity` (Go): affected `<1.6.0-beta.4.0.20240610221955-50774cd97099`; fixed in `1.6.0-beta.4.0.20240610221955-50774cd97099`
- `com.microsoft.azure:msal4j` (Maven): affected `>=1.14.4-beta, <1.15.1`; fixed in `1.15.1`
- `Azure.Identity` (NuGet): affected `<1.11.4`; fixed in `1.11.4`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `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`, from CNA (microsoft)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0083, the 57th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 11 Jun 2024. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-m5vv-6r4h-3vj9](https://github.com/advisories/GHSA-m5vv-6r4h-3vj9)
- [OSV: GHSA-m5vv-6r4h-3vj9](https://osv.dev/vulnerability/GHSA-m5vv-6r4h-3vj9)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-35255>
- <https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4806#issuecomment-2178960340>
- <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>
- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-35255>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-m5vv-6r4h-3vj9>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m5vv-6r4h-3vj9/>. Everything for agents: <https://agentprime.io/llms.txt>.
