CVE-2026-27128 — Time-of-check Time-of-use (TOCTOU) Race Condition in Craft CMS
Severity
6.9MEDIUMNVD
EPSS
0.0%
top 99.41%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 24
Description
Craft is a content management system (CMS). In versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22, a Time-of-Check-Time-of-Use (TOCTOU) race condition exists in Craft CMS’s token validation service for tokens that explicitly set a limited usage. The `getTokenRoute()` method reads a token’s usage count, checks if it’s within limits, then updates the database in separate non-atomic operations. By sending concurrent requests, an attacker can use a single-use impersonation token multipl…
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Affected Packages3 packages
Patches
🔴Vulnerability Details
3CVEList▶
Craft CMS's race condition in Token Service potentially allows for token usage greater than the token limit↗2026-02-24
OSV▶
Craft CMS Race condition in Token Service potentially allows for token usage greater than the token limit↗2026-02-23
GHSA▶
Craft CMS Race condition in Token Service potentially allows for token usage greater than the token limit↗2026-02-23