CVE-2026-27128
Last modified
CVE-2026-27128 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Cms | > 4.5.0, < 4.16.19 |
| Craftcms | Craft Cms | > 5.0.0, < 5.8.23 |
| Craftcms | Craft Cms | 4.5.0 |
| Craftcms | Craft Cms | 5.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-27128?
How severe is CVE-2026-27128?
How do I fix CVE-2026-27128?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-27122svelte performance oriented web framework. Prior to 5.51.5, …5.4
- CVE-2026-27123Rejected reason: Reason: This candidate was issued in error.
- CVE-2026-27124FastMCP is the standard framework for building MCP applicati…6.1
- CVE-2026-27125svelte performance oriented web framework. Prior to 5.51.5, …6.8
- CVE-2026-27126Craft is a content management system (CMS). In versions 4.5.…4.8
- CVE-2026-27127Craft is a content management system (CMS). In versions 4.5.…6.3
- CVE-2026-27129Craft is a content management system (CMS). In versions 4.5.…6.5
- CVE-2026-2713IBM Trusteer Rapport installer 3.5.2309.290 IBM Trusteer Rap…7.8
- CVE-2026-27130Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-27131The Sprig Plugin for Craft CMS is a reactive Twig component …5.5
- CVE-2026-27133Strimzi provides a way to run an Apache Kafka cluster on Kub…5.9
- CVE-2026-27134Strimzi provides a way to run an Apache Kafka cluster on Kub…8.1
Are you affected by CVE-2026-27128?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
