What’s Vulnerable › Vulnerabilities
CVE-2024-21632: omniauth-microsoft_graph vulnerable to account takeover (nOAuth)
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-01-02 · updated 2026-06-17
- Weakness: CWE-287
Description
omniauth-microsoft_graph provides an Omniauth strategy for the Microsoft Graph API. Prior to versions 2.0.0, the implementation did not validate the legitimacy of the `email` attribute of the user nor did it give/document an option to do so, making it susceptible to nOAuth misconfiguration in cases when the `email` is used as a trusted user identifier. This could lead to account takeover. Version 2.0.0 contains a fix for this issue.
Affected products
- Recognizeapp Omniauth::Microsoftgraph: before 2.0.0 — fixed in 2.0.0
How to fix
Upgrade to a fixed version: Recognizeapp Omniauth::Microsoftgraph 2.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1
- https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj
- https://www.descope.com/blog/post/noauth
- https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1
- https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj
- https://www.descope.com/blog/post/noauth
Get alerted when CVE-2024-21632 or the next vulnerability affects your stack