Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. magento/community-edition
  4. ›
  5. CVE-2025-49558

CVE-2025-49558: Magento Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability

August 12, 2025 (updated October 22, 2025)

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.

References

  • github.com/advisories/GHSA-wcmw-8xpp-rwfj
  • github.com/magento/magento2
  • helpx.adobe.com/security/products/magento/apsb25-71.html
  • nvd.nist.gov/vuln/detail/CVE-2025-49558

Code Behaviors & Features

Detect and mitigate CVE-2025-49558 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.5-p14, version 2.4.5, all versions starting from 2.4.6-p1 before 2.4.6-p12, version 2.4.6, all versions starting from 2.4.7-beta1 before 2.4.7-p7, version 2.4.7, all versions starting from 2.4.8-beta1 before 2.4.8-p2, version 2.4.8, all versions starting from 2.4.9-alpha1 before 2.4.9-alpha2

Fixed versions

  • 2.4.9-alpha2
  • 2.4.8-p2
  • 2.4.7-p7
  • 2.4.6-p12
  • 2.4.5-p14

Solution

Upgrade to versions 2.4.5-p14, 2.4.6-p12, 2.4.7-p7, 2.4.8-p2, 2.4.9-alpha2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Source file

packagist/magento/community-edition/CVE-2025-49558.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 04 Nov 2025 00:19:57 +0000.