Skip to main content

OpenMage LTS EUVDEUVD-2026-125066

| CVE-2026-128042 MEDIUM
Race Condition (CWE-362)
2026-11-13 VulnCheck GHSA-chw3-wcrj-gqxx
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain usage-limited coupon code
  2. Exploit
    Submit many concurrent guest checkouts
  3. Execution
    Pass limit check against stale counter (TOCTOU)
  4. Impact
    Redeem coupon beyond its usage cap

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a shopping cart price rule / coupon that has a usage limit configured ('Uses per Coupon' or 'Uses per Customer'); coupons without limits are unaffected. The attacker must be able to submit several checkout requests at the same instant to win the race between the limit check and the non-atomic counter increment. No authentication is required (PR:N - guest checkout is sufficient). Limiting factors that reduce realistic risk: success depends on server timing (AC:H / AT:P), making exploitation non-deterministic; the only impact is financial (extra discount redemptions), with no data exposure or system compromise; and stores that do not issue limited or high-value single-use coupons have no exploitable condition.

Impact

Signals point to a real but moderate-priority issue rather than a critical emergency. The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N) scores 6.3 (medium), while the vendor's own GHSA rating is CVSS 3.1 Low 3.7 (C:N/I:L/A:N) - this divergence is driven by the 4.0 scoring model, not a disagreement on mechanism, and both agree impact is low-integrity-only with no confidentiality or availability loss. The flaw is network-reachable and unauthenticated (PR:N, guest checkout suffices), which raises exposure, but AC:H / AT:P reflect that exploitation depends on winning a server-timing race via concurrent requests, so it is not trivially reliable. EPSS is not provided, KEV status is NO (no CISA listing), and no public exploit code is identified - exploitation is unproven in the wild. The vuln.today decision label is 'this_month', consistent with a patch-this-cycle priority rather than act_now/emergency. The real-world consequence is financial (merchant loses value of extra discounts) and bounded to deployments that actually configure limited coupons; there is no system compromise or data exposure. Net: patch on a normal maintenance cadence, prioritizing any store that relies on high-value single-use coupons.

Exploit ScenarioDerived

An attacker (a guest shopper is enough) obtains a coupon configured with a usage limit and fires multiple checkout requests simultaneously. Because Mage_SalesRule_Model_Validator checks the limit when the discount is applied but the counters are incremented only later in sales_order_afterPlace() with no row lock, every concurrent order passes the check against the same stale counter and redeems the coupon beyond its cap. No public exploit code is identified at time of analysis, and reliability depends on server timing (AC:H).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Concurrent checkout submissions against OpenMage LTS (the community Magento 1 LTS fork) can redeem a limited shopping-cart price rule coupon more times than its configured cap, costing the merchant the value of the extra discounts. Only rules configured with a 'Uses per Coupon' or 'Uses per Customer' limit are affected, and no authentication is required (CVSS vector PR:N - guest checkout is sufficient), though success depends on server timing (AC:H / AT:P) and the outcome is purely financial, with no data disclosure or system compromise. The flaw has been fixed in 20.19.0 and 21.0.0-beta3; there is no KEV entry and no public exploit identified at time of analysis, and the assessed severity is Low (CVSS:3.1 3.7) despite the vendor's CVSS v4.0 score of 6.3.

RemediationAI

Vendor-released patch: upgrade to OpenMage LTS 20.19.0 (21.0.0-beta3 for the 21.x pre-release line). Note that 20.18.2 contains only the free-shipping counting correction (#4757), not the race fix, so it is not sufficient. The fix includes a schema change: the setup script upgrade-1.6.0.3-1.6.0.4.php (Mage_SalesRule) makes (rule_id, customer_id) the primary key of salesrule_customer, merges duplicate rows and sums their counts, and may take a short write lock on that table if the online rebuild hits duplicates - the vendor measured 15-40 seconds on 2 million rows and recommends running the upgrade in maintenance mode. Expect behaviour changes after upgrading: order placement can now fail and roll back with a coupon/rule usage-limit message when a limit is reached between coupon application and order placement (the rule's 'Uses per Customer' is now enforced at placement), salesrule_rule_save_before/_after no longer fire when an order redeems or cancels a rule (use the new salesrule_usage_update_after event), and multishipping quotes enforce limits on the first order only. The vendor states there are no configuration-level workarounds; until upgraded, avoid high-value single-use coupons, watch for multiple orders sharing one limited coupon code, and rate-limit checkout submission at the edge.

Affected VersionsENISA

magento-lts 0 <20.19.0
magento-lts 21.0.0-beta1 <21.0.0-beta3

Affected Packages

euvd magento_lts fix: 20.19.0, 21.0.0-beta3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is a classic time-of-check-to-time-of-use race (CWE-362 / CWE-367) in Magento 1's sales rule subsystem. Mage_SalesRule_Model_Validator checks the coupon's usage limit while quote totals are being collected, but the usage counters are only incremented much later, in Mage_SalesRule_Model_Observer::sales_order_afterPlace(). Both the per-customer counter (Mage_SalesRule_Model_Resource_Coupon_Usage) and the coupon and rule counters were read, incremented in PHP, and written back with no row lock, so concurrent orders all validated against the same stale counter and then overwrote each other's increments - meaning the counter could also under-count. The advisory notes that an atomic conditional UPDATE alone would not close the race, because when a rule is saved to count its use, Mage_SalesRule_Model_Rule::_afterSave() also writes the rule's primary coupon with every column as loaded, allowing a racing order to write back a stale times_used and undo the winner's increment. The upstream fix (commit 2626f027a752cda004c5cf7f8f9bd3cf52f525f2) moves the limited counters into the order placement transaction, updated with one conditional statement each (WHERE times_used < usage_limit, rolling the order back if no row changes), creates per-customer rows with INSERT ... ON DUPLICATE KEY UPDATE, makes (rule_id, customer_id) the primary key of salesrule_customer, increments unlimited counters atomically after commit, and stops re-saving rules on redemption (dispatched instead via the new salesrule_usage_update_after event).

Know when Openmage gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Unauthenticated guest redemption (PR:N) via a timing-dependent concurrency race (AC:H); only coupon-counter integrity is affected (I:L), with no confidentiality or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

OpenMage magento-lts before 20.19.0 and 21.0.0-beta1 before 21.0.0-beta3 contains a race condition in shopping cart price rule usage limits, because Mage_SalesRule_Model_Validator checks coupon limits without locking and the usage counters are later incremented non-atomically. Unauthenticated attackers, including guest shoppers, can submit concurrent checkouts to redeem a limited coupon more times than its cap allows.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
community LTS fork of end-of-life Magento 1, niche merchant footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

CVE-2023-41879 HIGH POC
7.5 Sep 11

Magento LTS is the official OpenMage LTS codebase. Rated high severity (CVSS 7.5), this vulnerability is remotely exploi

CVE-2021-21426 CRITICAL
9.8 Apr 21

Magento-lts is a long-term support alternative to Magento Community Edition (CE). Rated critical severity (CVSS 9.8), th

CVE-2026-128049 CRITICAL
9.4 Nov 13

Cross-site request forgery in OpenMage LTS's OAuth authorization flow allows anyone holding valid OAuth consumer credent

CVE-2026-128046 CRITICAL
9.2 Nov 13

Unauthenticated file upload in OpenMage LTS (magento-lts) before 20.18.2 and in the 21.0.0 beta line before 21.0.0-beta3

CVE-2026-128047 CRITICAL
9.2 Nov 13

Account takeover affects OpenMage LTS releases before 20.18.2 and 21.0.0-beta pre-releases before 21.0.0-beta3 because c

CVE-2026-128041 HIGH
8.8 Nov 13

Stored cross-site scripting in OpenMage LTS (the Magento 1 community fork) lets an unauthenticated guest plant script in

CVE-2026-128044 HIGH
8.7 Nov 13

OAuth 1.0a callback allowlist bypass in OpenMage LTS (magento-lts) allows someone holding a leaked consumer key and secr

CVE-2026-40488 HIGH
8.7 Apr 20

Remote code execution in OpenMage Magento LTS versions before 20.17.0 allows authenticated attackers to upload executabl

CVE-2026-128040 HIGH
8.4 Nov 13

Stored cross-site scripting in OpenMage LTS (composer package openmage/magento-lts) before 20.18.2 and in the 21.0.0 bet

CVE-2026-25524 HIGH
8.1 Apr 20

Remote code execution in OpenMage Magento LTS versions prior to 20.17.0 allows unauthenticated attackers to execute arbi

CVE-2020-15151 HIGH
8.0 Aug 20

OpenMage LTS before versions 19.4.6 and 20.0.2 allows attackers to circumvent the `fromkey protection` in the Admin Inte

CVE-2023-23617 HIGH
7.5 Jan 28

OpenMage LTS is an e-commerce platform. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy