ADVISORIES

GitHub Advisory Database

GHSA-wcmw-8xpp-rwfj

Magento Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability

Moderate CVE-2025-49558

Details

Magento versions 2.4.9-alpha1, 2.4.8-p1, 2.4.7-p6, 2.4.6-p11, 2.4.5-p13, 2.4.4-p14 and earlier are affected by a Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability that could result in a security feature bypass. An attacker could exploit this vulnerability by manipulating the timing between the check of a resource's state and its use, allowing unauthorized write access. Exploitation of this issue does not require user interaction.

Affected packages

EcosystemPackageAffected versions
Packagistmagento/project-community-edition
All versions up to and including 2.0.2
Packagistmagento/community-edition
From 2.4.9-alpha1 before 2.4.9-alpha2 (fixed in 2.4.9-alpha2)
Packagistmagento/community-edition
From 2.4.8-beta1 before 2.4.8-p2 (fixed in 2.4.8-p2)
Packagistmagento/community-edition
From 2.4.7-beta1 before 2.4.7-p7 (fixed in 2.4.7-p7)
Packagistmagento/community-edition
From 2.4.6-p1 before 2.4.6-p12 (fixed in 2.4.6-p12)
Packagistmagento/community-edition
All versions before 2.4.5-p14 (fixed in 2.4.5-p14)
Packagistmagento/community-edition
2.4.5
Packagistmagento/community-edition
2.4.6
Packagistmagento/community-edition
2.4.7
Packagistmagento/community-edition
2.4.8

References