Loading...
Skip to main content

CVE-2020-26254 — Vulnerability in omniauth-apple — CVE Details

HIGH

omniauth-apple allows attacker to fake their email address during authentication

Published December 8, 2020Updated September 10, 2026Source: osv

Summary

### Impact This vulnerability impacts applications using the [omniauth-apple](https://github.com/nhosoya/omniauth-apple) strategy of OmniAuth and using the `info.email` field of OmniAuth's [Auth Hash Schema](https://github.com/omniauth/omniauth/wiki/Auth-Hash-Schema) for any kind of identification. The value of this field may be set to any value of the attacker's choice including email addresses of other users. For example, an application using omniauth-apple with the following code will be impacted: ```ruby def omniauth_callback auth_hash = request.env['omniauth.auth'] @authenticated_user = User.find_by(email: auth_hash.info.email) end ``` Applications not using `info.email` for identification but are instead using the `uid` field are not impacted in the same manner. Note, these applications may still be negatively affected if the value of `info.email` is being used for other purposes. ### Patches Applications using affected versions of omniauth-apple are advised to upgrade to omniauth-apple version 1.0.1 or later. ### Workarounds If unable to upgrade to a patched version, monkey patching `OmniAuth::Strategies::Apple#email` as follows is advised as a workaround: ```ruby module OmniAuth module Strategies class Apple def email id_info['email'] end end end end ```

Advisory Timeline

  • First published December 8, 2020 (2134 days ago).
  • Last revised September 10, 2026 — 2102 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update omniauth-apple to 1.0.1 or later
gem install omniauth-apple -v 1.0.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
omniauth-apple
rubygems
0.0.1, 0.0.2, 0.0.3, 1.0.01.0.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Frequently Asked Questions

What is CVE-2020-26254?
omniauth-apple allows attacker to fake their email address during authentication This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.7/10).
How do I check if my project is affected by CVE-2020-26254?
CVE-2020-26254 affects omniauth-apple. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-26254 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-49r3-2549-3633

Related CVEs

  • CVE-2026-94462
    HIGH

    Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

  • CVE-2026-77601
    HIGH

    OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies