Intel

AIKIDO-2026-10083

craftcms/cms is vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition

Time-of-check Time-of-use (TOCTOU) Race ConditionCVE-2026-27128 Published Jan 26, 2026

55

Medium Risk

This Affects:

PHPcraftcms/cms
2.1.0 - 4.16.18
Fixed in 4.16.19
5.0.0 - 5.8.22
Fixed in 5.8.23
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a time-of-check to time-of-use (TOCTOU) issue in token handling that could allow a race condition during token validation and usage, leading to unexpected behavior in token-based operations. The patched version ensures exclusive access when checking and using tokens to prevent this race condition.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

craftcms/cms is vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in versions 2.1.0 - 4.16.18 and 5.0.0 - 5.8.22.

How to fix this

Upgrade the craftcms/cms library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform