CVE-2026-27128Time-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
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

Packagistcraftcms/cms4.5.0-RC14.16.19+1
NVDcraftcms/craft_cms< 4.16.19+3
CVEListV5craftcms/cms>= 4.5.0-RC1, < 4.16.19, >= 5.0.0-RC1, < 5.8.23+1

Patches

🔴Vulnerability Details

3
CVEList
Craft CMS's race condition in Token Service potentially allows for token usage greater than the token limit2026-02-24
OSV
Craft CMS Race condition in Token Service potentially allows for token usage greater than the token limit2026-02-23
GHSA
Craft CMS Race condition in Token Service potentially allows for token usage greater than the token limit2026-02-23

🕵️Threat Intelligence

1
Wiz
CVE-2026-27128 Impact, Exploitability, and Mitigation Steps | Wiz
CVE-2026-27128 — Craftcms Craft CMS vulnerability | cvebase