Drupal Commerce Flaw Lets Attackers Change Prices and Read Coupons: What Online Stores Should Check (CVE-2026-118539)

On October 28, 2026, the Drupal security team released fixes for a highly critical flaw in Commerce Core, the module that turns a Drupal website into an online store. Two days later Drupal confirmed it was already being exploited. The vulnerability, CVE-2026-118539, lets people change parts of orders, carts and products they should never be able to touch, including the price a customer pays.
Commerce Core runs on more than 42,000 websites, according to BleepingComputer, from small shops to large companies and universities. If your online store is built on Drupal, this article tells you how to check whether you are affected, what to update and what to look for in your orders.
The flaw at a glance
| Affected software | Drupal Commerce Core 3.0.0 to 3.3.12 and all 2.x versions before 2.41 |
| Fixed versions | Commerce Core 3.3.13 or 8.x-2.41 (both released October 28, 2026) |
| Type | Missing authorization (access bypass) |
| Severity | Highly critical, 21 out of 25 on Drupal’s scale (advisory SA-CONTRIB-2026-254) |
| Exploited? | Yes, confirmed by Drupal |
| What to do | Update now, then audit recent orders, coupons and products |
What attackers can do
Drupal’s advisory says the module “doesn’t sufficiently protect certain routes and entity fields” and that the bypass “may financially impact the vendor”. An analysis of the fix by Ostorlab lists what the missing checks allowed before the update:
- Customers changing their own cart. Fields such as the unit price, order total, adjustments and order state could be written through Drupal’s JSON:API or REST interfaces. In plain terms: paying less than the real price.
- Reading coupon codes. An autocomplete page listed coupon codes to anyone who could reach it, including codes for promotions the account could not manage.
- Moving coupons and products. A coupon could be moved to a different promotion, and on marketplaces with several vendors, one vendor’s product variations could be moved under a product controlled by someone else.
- Seeing hidden products. Filters in JSON:API revealed that unpublished product variations existed.
Based on the published information, this is not a full takeover of the website and there are no reports of attackers reading customer data through it. It is a direct way to lose money: discounted orders, leaked or misused coupons and corrupted product data.
“Not every serious flaw leaks data. Some simply let the customer decide the price.”
NyorsoftExternal Security Review
Are you affected?
- Is your store built on Drupal? If you use Shopify, WooCommerce or another platform, this specific flaw does not apply, but the checks below are still a good habit.
- Which Commerce Core version do you run? In Drupal go to Reports → Available updates (or ask your developer to run
composer show drupal/commerce). Anything below 3.3.13, or below 2.41 on the older branch, is vulnerable. - Are JSON:API or REST enabled? Many cart and order changes went through these interfaces. If your store does not need them, they should not be switched on.
What to do now
- Update Commerce Core to 3.3.13 or 8.x-2.41 (or later) and clear caches. Take a backup first.
- Update Drupal itself. Drupal also fixed two remote code execution flaws two weeks earlier (CVE-2026-108097 and CVE-2026-108099), so make sure core and all modules are current.
- Disable interfaces you do not use. If the store does not need JSON:API or REST, turn those modules off; if it does, check which roles are allowed to write through them.
- Rotate exposed coupon codes. Assume codes that were reachable through autocomplete could be known. Disable or replace high-value codes.
How to check your orders for abuse
Drupal has not published indicators of compromise, so the check is a business one: look for orders that do not add up. Go through orders since at least the start of October and look for:
- Orders where the line prices or total are lower than your product prices and discounts would allow.
- Coupons used far more often than expected, or codes that were never shared publicly.
- Coupons now attached to a different promotion than the one that created them.
- Product variations that suddenly belong to a different product or vendor.
- In server logs, write requests (POST or PATCH) to JSON:API or REST endpoints for orders, carts, coupons or products from customer or low-permission accounts.
If you find suspicious orders, hold them before shipping, keep the logs and talk to your payment provider about refunds or chargebacks.
The broader lesson for online stores
This is the third widely used web component hit by active attacks this month, after PHP2Shell and the WordPress plugin compromises. Online stores are attractive targets because they handle money directly. Three habits make the biggest difference:
- Know which platform, modules and versions your store runs, and who is responsible for updating them.
- Apply security updates for your shop software within days, not months.
- Reconcile orders against payments regularly, so pricing anomalies are caught early.
An external website security review shows what your store reveals from the outside, such as visible software versions, exposed interfaces and missing security settings. Our free website security check is a quick first step.
Frequently asked questions
What is CVE-2026-118539?
It is a highly critical access bypass in Drupal Commerce Core. Missing authorization checks let users change protected fields on carts, orders, coupons and products, and read coupon codes. Drupal confirmed it is being exploited in the wild.
Which Commerce Core versions are fixed?
Commerce Core 3.3.13 for the 3.x branch and 8.x-2.41 for the older 2.x branch, both released on October 28, 2026. Earlier versions in those branches are vulnerable.
Can attackers steal customer data with this flaw?
The published information does not describe access to customer data. The main risks are manipulated prices and totals, leaked or misused coupon codes and changed product data, which Drupal says may financially impact the store.
My store uses WooCommerce or Shopify. Am I affected?
No, this flaw only affects Drupal Commerce Core. It is still a good reminder to keep your store platform and its plugins updated and to check orders for unusual prices.
How do I know if my store was abused?
Review orders since early October for prices or totals below what your catalogue and promotions allow, coupons used unexpectedly often or moved to other promotions, and write requests to JSON:API or REST endpoints from customer accounts in your server logs.
Sources
- BleepingComputer: Drupal warns of critical Commerce Core flaw exploited in attacks (October 30, 2026)
- Security Affairs: Attackers exploit critical Drupal Commerce Core vulnerability CVE-2026-118539
- Ostorlab: Drupal Commerce access bypass, exploited in the wild (CVE-2026-118539)
- Drupal security advisory SA-CONTRIB-2026-254
This article summarises public information as of October 31, 2026. Check Drupal’s advisory for the latest guidance.
Not sure what your website exposes?
Our Public Website Security Check looks at your site the way an attacker does — TLS, security headers, email authentication and exposed services — and gives you a short, ranked list of what to fix.