Back to CVE records
Medium 6.9Published Feb 23, 2026

CVE-2026-27128Craft CMS's race condition in Token Service potentially allows for token usage greater than the token limit

Updated under an hour ago ()

Does this affect you?

It affects craftcms cms and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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 multiple times before the database update completes. To make this work, an attacker needs to obtain a valid user account impersonation URL with a non-expired token via some other means and exploit a race condition while bypassing any rate-limiting rules in place. For this to be a privilege escalation, the impersonation URL must include a token for a user account with more permissions than the current user. Versions 4.16.19 and 5.8.23 patch the issue.

CVSS
6.9 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-367
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Feb 27, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
craftcms cms
craftcms:cms (from the name)
from 4.5.0-RC1, < 4.16.19; from 5.0.0-RC1, < 5.8.23
CNA record
craftcms craft_cms
craftcms:craft_cms
after 4.5.0 before 4.16.19; after 5.0.0 before 5.8.23; 4.5.0; 4.5.0; 5.0.0; 5.0.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.