CVE-2026-29069: Craft has an unauthenticated activation email trigger with potential user enumeration

Published Mar 4, 2026
·
Updated

Craft is a content management system (CMS). Prior to 5.9.0-beta.2 and 4.17.0-beta.2, the actionSendActivationEmail() endpoint is accessible to unauthenticated users and does not require a permission check for pending users. An attacker with no prior access can trigger activation emails for any pending user account by knowing or guessing the user ID. If the attacker controls the target user’s email address, they can activate the account and gain access to the system. This vulnerability is fixed in 5.9.0-beta.2 and 4.17.0-beta.2.

Other sources

The actionSendActivationEmail() endpoint is accessible to unauthenticated users and does not require a permission check for pending users. An attacker with no prior access can trigger activation emails for any pending user account by knowing or guessing the user ID. If the attacker controls the target user’s email address, they can activate the account and gain access to the system.

The vulnerability is not that anonymous access exists - there’s a legitimate use case for it. The vulnerability is that the endpoint accepts arbitrary userId parameters without verifying ownership.

Craft CMS allows public user registration. When a user registers but doesn’t receive their activation email (spam filter, typo correction, etc.), they need a way to request a resend. This is why send-activation-email is in the allowAnonymous array - it’s intentional self-service functionality.

The Security Gap

The endpoint accepts userId as the identifier: php $userId = $this->request->getRequiredBodyParam('userId');

This allows any visitor to trigger activation emails for any pending user, not just their own registration.

---

Background

When administrators create new user accounts in Craft CMS, users are created in a “pending” state until they activate their account via an emailed link. The actionSendActivationEmail() function sends (or resends) this activation email.

Expected Behavior: Anonymous users should only be able to resend activation emails for their own registration.

Actual Behavior: 1. The endpoint is listed in allowAnonymous - no login required (intentional for self-service) 2. For pending users, there is NO ownership verification 3. Any unauthenticated visitor can trigger activation emails for ANY pending user by ID

---

Attack Scenarios

Scenario 1: Targeted Account Takeover

Prerequisites: Attacker controls target user’s email (compromised email, shared mailbox, typosquatting, etc.)

1. Admin creates a user account for victim@company.com 2. User account is in PENDING state (hasn’t activated yet) 3. Attacker has compromised victim@company.com (or it’s a typo of attacker’s domain) 4. Attacker discovers user ID (brute-force, GraphQL enumeration, or insider knowledge) 5. Attacker (unauthenticated) triggers: POST /actions/users/send-activation-email 6. Activation email sent to victim@company.com (attacker-controlled) 7. Attacker clicks activation link, sets password 8. Attacker gains access as that user with pre-assigned permissions

Scenario 2: User ID Brute-Force Enumeration

1. Attacker iterates through user IDs (1, 2, 3, ...) 2. For each ID, the attacker calls send-activation-email 3. Response reveals user state: - "Activation email sent." = Pending user exists - "User not found" = No user with this ID - "Activation emails can only be sent to inactive or pending users" = Active user exists 4. Attacker builds a map of all user IDs and their states 5. For any pending user whose email an attacker controls → account takeover

Scenario 3: GraphQL + Targeted Attack

Prerequisites: GraphQL public schema allows user queries

1. Attacker queries GraphQL: { users { id email status } } 2. Filters for pending users 3. Cross-references with emails attacker controls 4. Triggers activation for the target user 5. Account takeover

Scenario 4: Email Spam / Harassment

1. Attacker brute-forces all pending user IDs 2. Repeatedly triggers activation emails 3. Victims receive unwanted emails from the Craft site 4. Potential for: - Reputation damage to the site - Email deliverability issues (spam reports) - User confusion/phishing vector

---

References

https://github.com/craftcms/cms/commit/c3d02d4a7246f516933f42106c0a67ce062f68d8

GitHub

Affected Software

14 affected componentsFixes available
Craft Craft CMS<5.9.0-beta.2
Craft Craft CMS<4.17.0-beta.2
composer/craftcms/cms>=4.0.0-RC1<4.17.0-beta.2
4.17.0-beta.2
composer/craftcms/cms>=5.0.0-RC1<5.9.0-beta.2
5.9.0-beta.2
CraftCMS Craft CMS>4.0.0<4.17.0
CraftCMS Craft CMS>5.0.0<5.9.0
CraftCMS Craft CMS=4.0.0
CraftCMS Craft CMS=4.0.0-rc1
CraftCMS Craft CMS=4.0.0-rc2
CraftCMS Craft CMS=4.0.0-rc3
CraftCMS Craft CMS=4.17.0-beta1
CraftCMS Craft CMS=5.0.0
CraftCMS Craft CMS=5.0.0-rc1
CraftCMS Craft CMS=5.9.0-beta1

Event History

Mar 4, 2026
CVE Published
via MITRE·04:57 PM
Data Sourced
via MITRE·04:57 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·08:52 PM
Data Sourced
via GitHub·08:52 PM
DescriptionWeaknessAffected Software
Dec 1, 58158
Event
via FIRST·12:06 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-29069?

CVE-2026-29069 is rated as a high-severity vulnerability due to its potential for user enumeration via unauthenticated access.

2

How do I fix CVE-2026-29069?

To mitigate CVE-2026-29069, upgrade Craft CMS to version 5.9.0-beta.2 or 4.17.0-beta.2 or later.

3

What type of attack does CVE-2026-29069 enable?

CVE-2026-29069 enables potential user enumeration by allowing unauthenticated users to trigger the actionSendActivationEmail() endpoint.

4

Which versions of Craft CMS are affected by CVE-2026-29069?

CVE-2026-29069 affects Craft CMS versions prior to 5.9.0-beta.2 and 4.17.0-beta.2.

5

Is authentication required to exploit CVE-2026-29069?

No, CVE-2026-29069 can be exploited by unauthenticated users without any permission checks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203