Junglewise Threat Intelligence

CVE-2026-64665: Statamic CMS account takeover via OAuth email matching

CVE-2026-64665 · Severity: high · CVSS 8.1 · Published 2026-08-06

Executive brief

Statamic, a content management system, is vulnerable to account takeover when using certain third-party login providers. An attacker could gain full access to any user account, including administrator accounts, if the login provider does not strictly verify email addresses. This could lead to unauthorized access to sensitive data, website defacement, or complete loss of control over the site.

Technical details

Statamic CMS is vulnerable to an authentication bypass (CWE-287/CWE-290) in its OAuth implementation. The vulnerability occurs because the system matches OAuth identities to existing user accounts based on email addresses without verifying if the OAuth provider has actually validated that email. An unauthenticated attacker can exploit this by using an OAuth provider that allows unverified emails to claim the email address of an existing Statamic user, including super admins. This allows the attacker to sign in as that user without a password. The attack requires OAuth to be enabled with a non-verifying provider. Patches are available in versions 5.74.1 and 6.24.0.

Affected products

  • Statamic cms < 5.74.1, >= 6.0.0, < 6.24.0

Timeline

  • 2026-07-02: disclosed: Initial report to vendor
  • 2026-08-06: advisory: GitHub Advisory published
  • 2026-08-06: patched: Fixes released in versions 5.74.1 and 6.24.0

References

Related threats