CVE Explorer
CVE-2026-27128
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cms","vendor":"craftcms","versions":[{"status":"affected","version":">= 4.5.0-RC1, < 4.16.19"},{"status":"affected","version":">= 5.0.0-RC1, < 5.8.23"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:41d242e241c301c764fe022e23a205387aa8b04f2f4fd7a5d3ca672c52a449be · sha256:78da50ae85c9a1ea… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"HIGH","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:41d242e241c301c764fe022e23a205387aa8b04f2f4fd7a5d3ca672c52a449be · sha256:78da50ae85c9a1ea… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:41d242e241c301c764fe022e23a205387aa8b04f2f4fd7a5d3ca672c52a449be · sha256:78da50ae85c9a1ea… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/craftcms/cms/commit/3e4afe18279951c024c64896aa2b93cda6d95fdf","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/cms/commit/3e4afe18279951c024c64896aa2b93cda6d95fdf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41d242e241c301c764fe022e23a205387aa8b04f2f4fd7a5d3ca672c52a449be · sha256:78da50ae85c9a1ea… · /containers/cna/references/1
{"name":"https://github.com/craftcms/cms/security/advisories/GHSA-6fx5-5cw5-4897","tags":["x_refsource_CONFIRM"],"url":"https://github.com/craftcms/cms/security/advisories/GHSA-6fx5-5cw5-4897"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41d242e241c301c764fe022e23a205387aa8b04f2f4fd7a5d3ca672c52a449be · sha256:78da50ae85c9a1ea… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.