CVE-2025-24432: Magento Community Edition Time-of-check Time-of-use (TOCTOU) Race Condition Vulnerability

magento/community-edition Updated 02 Oct 2025

Summary

11/02/2025
Yes i
Low
3.7

CVE-2025-24432: Magento Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability. Affects magento/community-edition across 4 version ranges.

< 2.4.4-p12 >= 2.4.5-p1, < 2.4.5-p11 >= 2.4.6-p1, < 2.4.6-p9 >= 2.4.7-beta1, < 2.4.7-p4

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Magento is a widely-used open-source e-commerce platform that provides businesses with a flexible shopping cart system, control over the look and feel of their online store, and a robust marketing and SEO toolkit. The platform is built on PHP and utilizes various technologies to enhance the shopping experience. However, certain versions of Magento are susceptible to a Time-of-check Time-of-use (TOCTOU) race condition vulnerability, which can lead to security feature bypasses.

Vulnerability Detail

The vulnerability arises from a TOCTOU race condition, where an attacker can exploit the timing of checks and usage of a condition. This means that an attacker could potentially alter a condition after it has been checked but before it is utilized, allowing them to bypass security mechanisms. Exploitation of this vulnerability requires user interaction, making it critical for users to be aware of the risks associated with their actions.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.4-p12 2.4.4-p12
    composer require magento/community-edition:2.4.4-p12
  • >= 2.4.5-p1, < 2.4.5-p11 2.4.5-p11
    composer require magento/community-edition:2.4.5-p11
  • >= 2.4.6-p1, < 2.4.6-p9 2.4.6-p9
    composer require magento/community-edition:2.4.6-p9
  • >= 2.4.7-beta1, < 2.4.7-p4 2.4.7-p4
    composer require magento/community-edition:2.4.7-p4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can limit user interactions that could lead to exploitation until the package is updated. Additionally, implementing stricter access controls may help mitigate the risk.

Conclusion

The Magento TOCTOU race condition vulnerability (CVE-2025-24432) poses a risk of security feature bypass, particularly affecting specific versions of the Magento Community Edition. Users are strongly advised to update to the latest patched versions to mitigate this risk.

See every vulnerability recorded for magento/community-edition →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 3.7, indicating a low severity level.

Affected versions include Magento 2.4.7-beta1, 2.4.7-p3, 2.4.6-p8, 2.4.5-p10, 2.4.4-p11, and earlier versions.

TOCTOU stands for Time-of-check Time-of-use, a type of race condition vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If immediate updates are not possible, consider implementing stricter access controls and limiting user interactions that could lead to exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for magento/community-edition.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.4-p12 2.4.4-p12
    composer require magento/community-edition:2.4.4-p12
  • >= 2.4.5-p1, < 2.4.5-p11 2.4.5-p11
    composer require magento/community-edition:2.4.5-p11
  • >= 2.4.6-p1, < 2.4.6-p9 2.4.6-p9
    composer require magento/community-edition:2.4.6-p9
  • >= 2.4.7-beta1, < 2.4.7-p4 2.4.7-p4
    composer require magento/community-edition:2.4.7-p4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback