{"id":"CVE-2024-27086","aliases":["CVE-2024-27086","GHSA-x674-v45j-fwxw"],"related":[],"kind":"vulnerability","state":"published","title":"MSAL.NET applications targeting Xamarin Android and .NET Android (MAUI) susceptible to local denial of service","summary":"The MSAL library enabled acquisition of security tokens to call protected APIs. MSAL.NET applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions 4.48.0 to 4.60.0 are impacted by a low severity vulnerability.   \nA malicious application running on a customer Android device    can cause local denial of service against applications that were built using MSAL.NET for authentication on the same device (i.e., prevent the user of the legitimate application from logging in) due to incorrect activity export configuration. MSAL.NET version 4.60.1 includes the fix.  As a workaround, a developer may explicitly mark the MSAL.NET activity non-exported.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The MSAL library enabled acquisition of security tokens to call protected APIs. MSAL.NET applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions 4.48.0 to 4.60.0 are impacted by a low severity vulnerability.   \nA malicious application running on a customer Android device    can cause local denial of service against applications that were built using MSAL.NET for authentication on the same device (i.e., prevent the user of the legitimate application from logging in) due to incorrect activity export configuration. MSAL.NET version 4.60.1 includes the fix.  As a workaround, a developer may explicitly mark the MSAL.NET activity non-exported.","source":"cvelist"},{"lang":"en","text":">[!IMPORTANT]\n>**ONLY** applications targeting Xamarin Android and .NET Android (MAUI) are impacted. All others can safely dismiss this CVE.\n\n### Impact\n\n[MSAL.NET](https://www.nuget.org/packages/Microsoft.Identity.Client/) applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions `4.48.0` to `4.60.3` (inclusive, except `4.59.1` and `4.60.3`) are impacted by a low severity vulnerability.   \n\nA malicious application running on a customer Android device can (1) inject HTML/JavaScript in an embedded web view exported by affected applications, or (2) cause local denial of service against applications that were built using MSAL.NET for authentication on the same device (i.e., prevent the user of the legitimate application from logging in) due to incorrect activity export configuration.\n\n### Patches\n\nMSAL.NET version 4.60.3 includes the fix. We recommend all users of MSAL.NET that are building public client applications for Android update to the latest version.\n\n### Workarounds\n\nWe recommend developers update to the latest version of MSAL.NET. If that is not possible, a developer may explicitly mark the MSAL.NET activity non-exported:\n\n```xml\n<activity android:name=\"microsoft.identity.client.AuthenticationAgentActivity\" android:configChanges=\"orientation|screenSize\" android:exported=\"false\">\n<intent-filter>\n<action android:name=\"android.intent.action.VIEW\" />\n<category android:name=\"android.intent.category.DEFAULT\" />\n<category android:name=\"android.intent.category.BROWSABLE\" />\n<data android:scheme=\"msalYOUR_CLIENT_ID\" android:host=\"auth\" />\n</intent-filter>\n</activity>\n```\n\n### References\n\nRefer to [MSAL.NET documentation](https://learn.microsoft.com/entra/msal/dotnet/) for latest guidance and best practices on configuring client applications using the library.","format":"markdown","source":"ghsa"},{"lang":"es","text":"La librería MSAL permitió la adquisición de tokens de seguridad para llamar a API protegidas. Las aplicaciones MSAL.NET dirigidas a Xamarin Android y .NET Android (por ejemplo, MAUI) que utilizan la librería desde las versiones 4.48.0 a 4.60.0 se ven afectadas por una vulnerabilidad de gravedad baja. Una aplicación maliciosa que se ejecuta en el dispositivo Android de un cliente puede provocar una denegación de servicio local en aplicaciones creadas utilizando MSAL.NET para autenticación en el mismo dispositivo (es decir, impedir que el usuario de la aplicación legítima inicie sesión) debido a una configuración de exportación de actividad incorrecta. . MSAL.NET versión 4.60.1 incluye la solución. Como workaround, un desarrollador puede marcar explícitamente la actividad de MSAL.NET como no exportada.","source":"nvd"}],"published":"2024-04-16T21:34:25.839Z","modified":"2026-09-10T03:50:13.576Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":3.9,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":3.9,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":3.9,"rating":"LOW"}],"cwes":["CWE-863","CWE-926"],"affected":[{"ranges":[{"version":">= 4.48.0, < 4.59.1","status":"affected"},{"version":">= 4.60.0, < 4.60.3","status":"affected"}],"vendor":"AzureAD","product":"microsoft-authentication-library-for-dotnet","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.48.0","status":"affected","fixed":"4.59.1"}],"ecosystem":"NuGet","package":"Microsoft.Identity.Client","purl":"pkg:nuget/Microsoft.Identity.Client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.60.0","status":"affected","fixed":"4.60.3"}],"ecosystem":"NuGet","package":"Microsoft.Identity.Client","purl":"pkg:nuget/Microsoft.Identity.Client","source":"ghsa"}],"references":[{"url":"https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/security/advisories/GHSA-x674-v45j-fwxw","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/413e319472ccf48c86647f19fa2aa49ff6038488","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27086","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/AzureAD/microsoft-authentication-library-for-dotnet","tags":["package"],"sources":["ghsa"]},{"url":"https://learn.microsoft.com/en-us/entra/msal/dotnet","tags":["web"],"sources":["ghsa"]},{"url":"https://www.nuget.org/packages/Microsoft.Identity.Client","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-26T15:25:35.664Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27086","url":"https://www.cve.org/CVERecord?id=CVE-2024-27086","licence":"CVE Terms of Use","modified":"2024-08-02T00:27:57.873Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x674-v45j-fwxw","url":"https://github.com/advisories/GHSA-x674-v45j-fwxw","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:13.576Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27086","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27086","licence":"Public domain","modified":"2026-06-17T07:19:08.170Z"}],"updatedAt":"2026-11-25T22:58:39.316Z","epss":{"score":0.00189,"percentile":0.08965,"date":"2026-12-01T12:00:22.000Z"}}