# CVE-2024-21632: omniauth-microsoft_graph vulnerable to account takeover (nOAuth)

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-02T21:54:54.527Z
- Modified: 2026-09-10T03:50:04.829Z
- Also known as: GHSA-5g66-628f-7cvj
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- synth omniauth-microsoft_graph: < 2.0.0
- omniauth-microsoft_graph (RubyGems): before 2.0.0
- recognizeapp omniauth::microsoftgraph: before 2.0.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.descope.com/blog/post/noauth> (exploit, web)
- <https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj> (vendor-advisory, web)
- <https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21632> (advisory)
- <https://github.com/synth/omniauth-microsoft_graph/commit/5ffd62690ca0e46978f2fc7d83b18d28edde7795> (web)
- <https://github.com/synth/omniauth-microsoft_graph> (package)

## Sources

- CVE List: [CVE-2024-21632](https://www.cve.org/CVERecord?id=CVE-2024-21632), CVE Terms of Use, modified 2025-06-17
- GitHub Advisory Database: [GHSA-5g66-628f-7cvj](https://github.com/advisories/GHSA-5g66-628f-7cvj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-21632](https://nvd.nist.gov/vuln/detail/CVE-2024-21632), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21632 · Whole record: https://cve.day/CVE-2024-21632.json · Rebuilt by cve.day 2026-11-25T22:58:35.904Z
