Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112775 Overview
Craft CMS versions 5.0.0 through 5.10.x contain an authentication bypass vulnerability [CWE-287] that allows attackers to reuse email verification codes to take over user accounts. The users/verify-email endpoint fails to invalidate verification codes for active users after an email change is verified. An attacker who intercepts or otherwise obtains a victim's emailed verification code can submit it to the users/set-password endpoint, reset the victim's password, and hijack the account. The flaw affects installations running Craft CMS 5.0.0 before 5.11.0 and is network-exploitable without authentication or user interaction.
Critical Impact
Attackers can hijack Craft CMS accounts, including administrator accounts, by replaying a previously issued email verification code against the password-set endpoint.
Affected Products
- Craft CMS 5.0.0 through 5.10.x
- Craft CMS deployments exposing users/verify-email and users/set-password endpoints
- Any Craft CMS 5.x installation handling email change workflows
Discovery Timeline
- 2026-10-19 - CVE-2026-112775 published to the National Vulnerability Database (NVD)
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-112775
Vulnerability Analysis
The vulnerability is a business logic flaw in Craft CMS's email verification workflow. When a user initiates an email change, Craft CMS issues a verification code via email. The users/verify-email controller action validates and consumes the code for the email change action, but does not mark the code as invalid for other code-accepting endpoints on active user accounts.
Because the same verification token remains valid for the users/set-password endpoint, any party in possession of the code can submit it to reset the account password. The attack reduces account takeover to a single POST request once the attacker obtains the verification code.
Root Cause
The root cause is improper session and token lifecycle management [CWE-287]. Verification codes issued for the email-change flow are not scoped or expired after being consumed by users/verify-email. Craft CMS treats the token as still valid for subsequent password-reset-style actions on active users, violating the principle that single-purpose authentication tokens must be invalidated once their intended operation completes.
Attack Vector
An attacker needs to obtain the one-time verification code sent to the victim during an email change. Code exposure paths include email interception, misconfigured mail relays, shared mailboxes, forwarded messages, log file leakage, or SSRF chains that expose message bodies. After the victim verifies the email change through users/verify-email, the attacker submits the same code to users/set-password with an attacker-controlled password. Craft CMS accepts the request, resets the victim's credentials, and the attacker logs in with the new password. No prior authentication or user interaction with the attacker's request is required.
No public proof-of-concept exploit is available at the time of publication. Refer to the GitHub Security Advisory GHSA-xh42-494x-2xgv and the VulnCheck Advisory: Craft CMS Vulnerability for additional technical context.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-112775
Indicators of Compromise
- POST requests to users/set-password originating from IP addresses that did not previously authenticate as the target user.
- Successful password changes immediately following a users/verify-email call for the same account, from differing client IPs or user agents.
- Unexpected lastLoginDate or lastPasswordChangeDate field updates on Craft CMS user records without a corresponding user-initiated reset request.
- User complaints about being locked out shortly after confirming an email change.
Detection Strategies
- Correlate web server access logs for sequential users/verify-email and users/set-password requests tied to the same user identifier but different source IPs within a short window.
- Alert on password changes for administrative or privileged Craft CMS roles that are not preceded by a legitimate users/forgot-password flow.
- Review mail server logs for forwarded or relayed verification emails that could indicate code interception.
Monitoring Recommendations
- Ingest Craft CMS application logs, web server logs, and authentication events into a centralized SIEM for correlation.
- Build dashboards tracking account email-change and password-reset volumes to surface anomalies.
- Monitor for new administrator sessions originating from previously unseen geolocations or ASNs.
How to Mitigate CVE-2026-112775
Immediate Actions Required
- Upgrade Craft CMS to version 5.11.0 or later across all environments.
- Audit administrator and privileged user accounts for unauthorized password changes since 5.0.0 was deployed.
- Force password resets for any accounts that recently completed an email change workflow.
- Rotate API tokens and session keys for accounts suspected of compromise.
Patch Information
Craft CMS 5.11.0 remediates the issue by invalidating verification codes on active users after users/verify-email consumes them. Review the GitHub Security Advisory GHSA-xh42-494x-2xgv for release details and upgrade guidance.
Workarounds
- Restrict access to the Craft CMS control panel and user-facing authentication endpoints with a web application firewall (WAF) rule that enforces session binding on users/set-password requests.
- Require multi-factor authentication (MFA) for all administrator and editor accounts to reduce the impact of account takeover.
- Shorten email verification token lifetimes in email infrastructure and ensure verification messages are not forwarded or archived in shared mailboxes.
# Upgrade Craft CMS to the patched release using Composer
composer require craftcms/cms:^5.11.0 --update-with-dependencies
php craft migrate/all
php craft clear-caches/all
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

