ADVISORIES

GitHub Advisory Database

GHSA-93qh-5269-9wcf

Statamic: Account takeover via OAuth email matching without email-verification check

Details

Impact

When OAuth login is enabled with a provider that does not guarantee verified email addresses, an unauthenticated attacker could sign in as an existing user — potentially including a super admin — without their password. Exploitation requires OAuth to be explicitly enabled with such a provider.

Patches

Fixed in 5.74.1 and 6.24.0.

Workarounds

Only enable OAuth with providers that guarantee verified email addresses, or disable OAuth login.

Affected packages

EcosystemPackageAffected versions
Packagiststatamic/cms
All versions before 5.74.1 (fixed in 5.74.1)
Packagiststatamic/cms
From 6.0.0 before 6.24.0 (fixed in 6.24.0)

References