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

Source: https://junglewise.ai/threats/cve-2026-64665-statamic-cms-account-takeover-via-oauth-email-matching  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-06. Updated: 2026-08-06  
License: CC BY 4.0 with a link back

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

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.

Technologies: [statamic/cms (Packagist)](https://junglewise.ai/threats/technologies/statamic-cms), [Statamic](https://junglewise.ai/threats/technologies/statamic). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist), [Statamic](https://junglewise.ai/threats/vendors/statamic).

## Quick answers

**Is CVE-2026-64665 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-64665 being exploited in the wild.

**How severe is CVE-2026-64665?** High severity, with a CVSS score of 8.1, published 6 August 2026.

**Which products and versions are affected?** statamic/cms (Packagist) ECOSYSTEM:introduced=0,fixed=5.74.1; Statamic < 5.74.1, >= 6.0.0, < 6.24.0.

**Is there a fix for CVE-2026-64665?** Yes. statamic/cms (Packagist): upgrade to 5.74.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-64665 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-64665?** Check whether you run statamic/cms (Packagist) or Statamic at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- statamic/cms (Packagist): upgrade to 5.74.1 or later

  ```sh
  composer require statamic/cms:^5.74.1
  ```


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

## Identifiers

- CVE-2026-64665
- GHSA-93qh-5269-9wcf

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

- [https://api.github.com/users/luuhung1217](https://api.github.com/users/luuhung1217)
- [https://github.com/luuhung1217](https://github.com/luuhung1217)
- [https://api.github.com/users/luuhung1217/gists%7B/gist_id%7D](https://api.github.com/users/luuhung1217/gists%7B/gist_id%7D)
- [https://api.github.com/users/luuhung1217/repos](https://api.github.com/users/luuhung1217/repos)
- [https://avatars.githubusercontent.com/u/102791339?v=4](https://avatars.githubusercontent.com/u/102791339?v=4)
- [https://api.github.com/users/luuhung1217/events%7B/privacy%7D](https://api.github.com/users/luuhung1217/events%7B/privacy%7D)

## Related threats

- [Statamic CMS stored XSS in form notification email template](https://junglewise.ai/threats/cve-2026-71435-statamic-cms-stored-xss-in-form-notification-email-template)
- [Statamic CMS unrestricted file upload in frontend forms](https://junglewise.ai/threats/cve-2026-71434-statamic-cms-unrestricted-file-upload-in-frontend-forms)
- [Statamic CMS missing authorization in Control Panel user wizard](https://junglewise.ai/threats/cve-2026-64664-statamic-cms-missing-authorization-in-control-panel-user-wizard)
- [Statamic CMS unsafe reflection in Antlers template resolution](https://junglewise.ai/threats/cve-2026-64663-statamic-cms-unsafe-reflection-in-antlers-template-resolution)
- [Statamic CMS missing authorization in navigation endpoint](https://junglewise.ai/threats/cve-2026-64662-statamic-cms-missing-authorization-in-navigation-endpoint)
