Time-of-check Time-of-use (TOCTOU) Race Condition in PrestaShop - #VU169990

 

Time-of-check Time-of-use (TOCTOU) Race Condition in PrestaShop - #VU169990

Published: November 24, 2026


Vulnerability identifier: #VU169990
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-367
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to redeem a voucher more times than its usage limit permits.

The vulnerability exists due to a time-of-check to time-of-use race condition in order validation when the remaining voucher uses are checked during cart validation but decremented only after order creation, without a lock or atomic update. A remote attacker can reuse a limited-use voucher to receive the full discount on more orders than the cart rule permits.


Affected software

PrestaShop

Remediation

Install security update from vendor's website.

PrestaShop - addressed in versions 8.2.9, 9.2.1

External References

Related Security Bulletins