Time-of-check Time-of-use (TOCTOU) Race Condition in Craft CMS - CVE-2026-27128
Published: April 17, 2026
Craft CMS
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges.
The vulnerability exists due to a time-of-check time-of-use (TOCTOU) race condition in the token validation service when handling concurrent requests for limited-usage impersonation tokens. A remote user can send concurrent requests using a valid impersonation URL to escalate privileges.
Exploitation requires obtaining a non-expired impersonation URL via some other means and bypassing any rate-limiting rules in place.