CVE-2025-15116 Details
Description
A security flaw has been discovered in OpenCart up to 4.1.0.3. Affected by this issue is some unknown functionality of the component Single-Use Coupon Handler. Performing a manipulation results in race condition. The attack may be initiated remotely. The attack's complexity is rated as high. The exploitation is known to be difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
A critical race condition vulnerability has been identified in OpenCart versions through 4.1.0.3. This vulnerability allows unauthenticated (guest) attackers to manipulate the checkout process by sending concurrent requests that bypass essential business logic checks. As a result, two significant issues arise: first, 'single-use' coupons can be exploited multiple times on different orders, and second, products can be sold beyond their available stock, leading to negative inventory levels. This flaw is rooted in a time-of-check to time-of-use (TOCTOU) error, where the application fails to properly manage database locks during coupon and product validation, allowing simultaneous transactions to interfere with each other.
It is recommended to implement database locking mechanisms to prevent concurrent transactions from interfering with each other. This can be done by using 'SELECT ... FOR UPDATE' to lock the relevant database rows during the checkout process. Additionally, consider adding database constraints to prevent stock values from falling below zero.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/KhanMarshaI/a55f125a55de1c0d4f41e66236027e01 | [email protected] | ExploitThird Party Advisory |
| https://gist.github.com/KhanMarshaI/a55f125a55de1c0d4f41e66236027e01#steps-to-reproduce | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.338494 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.338494 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.711745 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| opencart opencart | <= 4.1.0.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 24, 2026 | CVE Modified | [email protected] |
| Jan 9, 2026 | Initial Analysis | [email protected] |
| Dec 28, 2025 | New CVE Received | [email protected] |