Time-of-check Time-of-use (TOCTOU) Race Condition Affecting magento/community-edition package, versions <2.4.5-p14>=2.4.6, <2.4.6-p12>=2.4.7-beta1, <2.4.7-p7>=2.8.4-beta1, <2.8.4-p1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-MAGENTOCOMMUNITYEDITION-12486259
  • published5 Sept 2025
  • disclosed12 Aug 2025
  • creditLots-o'-Huggin' Bear

Introduced: 12 Aug 2025

CVE-2025-49558  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade magento/community-edition to version 2.4.5-p14, 2.4.6-p12, 2.4.7-p7, 2.8.4-p1 or higher.

Overview

magento/community-edition is a modern cloud eCommerce platform.

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition. 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.

CVSS Base Scores

version 4.0
version 3.1