Skip to content
OpenAdvisories
High · 8.6 CVE-2024-21632 EUVD-2024-0260GHSA-5g66-628f-7cvj

omniauth-microsoft_graph vulnerable to account takeover (nOAuth)

Published Jan 2, 2024 · Updated Jun 17, 2025 · 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.

Affected products

VendorProductAffectedFixed
synth omniauth-microsoft_graph < 2.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems omniauth-microsoft_graph < 2.0.0 2.0.0 GHSA-5g66-628f-7cvj

References