Advisory

GHSA-wcmw-8xpp-rwfj

Also known as: CVE-2025-49558

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-12 18:31 UTC
Modified
2025-10-22 21:12 UTC

Affected packages and fixes

magento/project-community-edition

Packagist · All systems

Affected

  • introduced 0, last affected 2.0.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.9-alpha1, fixed 2.4.9-alpha2 (ecosystem)

Fixed versions

2.4.9-alpha2

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.8-beta1, fixed 2.4.8-p2 (ecosystem)

Fixed versions

2.4.8-p2

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.7-beta1, fixed 2.4.7-p7 (ecosystem)

Fixed versions

2.4.7-p7

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.6-p1, fixed 2.4.6-p12 (ecosystem)

Fixed versions

2.4.6-p12

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 0, fixed 2.4.5-p14 (ecosystem)

Fixed versions

2.4.5-p14

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.5

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.6

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.7

Fixed versions

None listed

Fix

No fixed version is listed.

magento/community-edition

Packagist · All systems

Affected

  • Versions: 2.4.8

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences