Time-of-check Time-of-use (TOCTOU) Race Condition in magento-lts - CVE-2026-128042

 

Time-of-check Time-of-use (TOCTOU) Race Condition in magento-lts - CVE-2026-128042

Published: November 2, 2026 / Updated: November 13, 2026


Vulnerability identifier: #VU158647
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-128042
CWE-ID: CWE-367
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to exceed coupon usage limits and obtain unauthorized discounts.

The vulnerability exists due to a time-of-check time-of-use race condition in the magento-lts shopping cart price rule usage counters when processing concurrent checkouts. A remote attacker can submit simultaneous checkout requests that pass usage-limit checks against stale counters before order placement updates them to redeem a coupon more times than permitted.


Affected software

magento-lts

How to mitigate CVE-2026-128042

Install security update from vendor's website.

magento-lts - addressed in versions 20.19.0, 21.0.0 beta3

External References

Related Security Bulletins