Home/Blog/Drupal Commerce Core vulnerability exploited: confirm the fixed version
blog

Drupal Commerce Core vulnerability exploited: confirm the fixed version

October 31, 2026 · Security News

Terminal checking the installed release for the exploited Drupal Commerce Core vulnerability CVE-2026-118539

Drupal says a highly critical Drupal Commerce Core vulnerability, CVE-2026-118539, is already being exploited against online stores. The flaw lets requests reach routes and entity fields they should not be able to access, and Drupal warns the result may cost the merchant money.

Key takeaways

  • Drupal rates CVE-2026-118539 in Commerce Core highly critical and says it is actively exploited; no CVSS score, routes or indicators have been published.
  • The flaw is missing authorization on certain routes and entity fields, and Drupal says it may financially impact the vendor.
  • The printed affected ranges (through 2.41 and 3.3.13) clash with the printed fixes (8.x-2.41 and 3.3.13), so confirm the fixed release on Drupal.org.
  • Reconcile Commerce orders, refunds and payment states against your gateway and preserve logs before patching.
  • PHP2Shell (CVE-2026-109618 and CVE-2026-109619) is a separate PHP issue with no published link to the Commerce flaw.

What did Drupal disclose about the Drupal Commerce Core vulnerability?

Drupal has published an advisory for CVE-2026-118539, a missing-authorization flaw in Commerce Core, and says attackers are already using it. In Drupal’s own description, the module lets a site sell goods and services through a built-in shopping cart and checkout form, or through decoupled applications that talk to it over APIs. This is the code that takes the order and, for many shops, the money.

The technical description is a single sentence. Drupal says the module does not sufficiently protect certain routes and entity fields, which produces an access bypass that “may financially impact the vendor.” It does not name the routes or the fields. The weakness matches CWE-862, Missing Authorization, although Drupal’s advisory does not name a CWE: the application carries out an action without first checking that the requester has permission to do it.

Drupal labeled the issue highly critical. The Hacker News reported the advisory on October 30 and lists the CVSS score as N/A. That does not mean the severity is low. Drupal scores its own advisories with an in-house risk calculator rather than CVSS, and highly critical is the top band. Treat it as the project’s highest severity rating.

On exploitation, Drupal says only that the flaw is “actively exploited in the wild.” It has published no victim count, sectors, countries, attacker name, malware or indicators. Dan Puccetti, Marcus Johansson and Robert Snyder are credited with reporting the bug.

Which shops are exposed, and what can an access bypass change?

Only Drupal sites running the contributed Commerce Core module are in scope. Commerce is a separate project from Drupal core, so the Drupal version tells you nothing here. A brochure site on Drupal 10 has nothing to patch for this advisory. A shop on the same Drupal release with Commerce installed does.

The affected ranges as printed are Commerce Core 0.0.0 through 2.41 and 3.0.0 through 3.3.13. That covers nearly every Commerce Core install, but read the next section before trusting those upper bounds.

Headless stores are included. If your storefront is a React or mobile app that calls Drupal through Commerce APIs, the same module runs behind it. A missing permission check on a route works the same whether the request comes from a browser or a script. If you sell this way, API security monitoring is how you see who is calling those endpoints.

What can an attacker change? Drupal says only that the vendor may take a financial hit. It does not say card data was stolen, and nothing in the advisory points to code execution. In a commerce system, a loss that falls on the merchant usually means orders were altered rather than records read.

The likely targets are prices, discounts, order states, payment states, refunds and order ownership. That list reflects our experience with commerce access bypasses, not anything Drupal has confirmed.

This class of bug is common. Broken Access Control ranked first in the 2021 OWASP Top 10. Commerce platforms are especially prone to it because every cart, order and profile is an entity with an owner, and every route has to check that owner on every request.

Why do the affected ranges and the upgrade targets disagree?

The published guidance contradicts itself, so treat the fix version as unconfirmed until you have read Drupal’s advisory directly. The coverage tells 3.x users to upgrade to 3.3.13 and older branches to 8.x-2.41. Those are the same two versions printed as the last affected releases. A release cannot be both the last vulnerable one and the fix.

The likely explanations are mundane: an off-by-one when the ranges were copied, an exclusive upper bound printed as inclusive, or a later revision of the advisory. The source does not say which. We will not guess a newer version number, and you should not install one because a forum post suggested it.

Part of the confusion is only notation. Drupal.org writes contributed releases as 8.x-2.41, while Composer usually reports the same release as 2.41. The prefix does not mean a different product. If Composer shows 2.41, you are on the release the article names for the older branch.

Here is the rule to follow. Open the Commerce Core advisory on Drupal.org, find the release it marks as fixed for your branch, and compare it with what Composer reports. If the advisory confirms 3.3.13 and 2.41 as fixed, you have finished the patch step. If it names a later release, you have not, even if you upgraded yesterday.

What can an IT manager confirm this week without guessing routes?

You can confirm your version, your exposure and the integrity of your orders, even though Drupal has published no indicators of compromise. Because there are no indicators, a clean result from a generic scanner proves very little. Work through these checks in order:

  1. Version. From the Composer project root, run composer show drupal/commerce. Then run drush pm:security and open the Available updates report at /admin/reports/updates. Compare the result with the fixed release in the advisory, not with news coverage.
  2. Exposure. List which Commerce admin pages and Commerce API endpoints are reachable from the internet. Headless shops often expose more API routes than their front end actually uses.
  3. Accounts. Look for new admin users, new roles with Commerce permissions, and API keys or OAuth clients nobody on your team created.
  4. Orders. Reconcile /admin/commerce/orders against your payment gateway: totals, discounts, payment status, refunds and shipping addresses. An order Drupal marks as paid that the gateway never captured is exactly the kind of mismatch to investigate.
  5. Logs. Review /admin/reports/dblog, web server access logs and any WAF or API gateway logs for anonymous or low-privilege requests to cart, checkout, order or entity operations. A successful response on its own does not prove exploitation.

Preserve those logs before you change anything. Patching closes the vulnerable code path, but it does not reverse an order someone has already altered, and log retention on small hosting plans can be as short as a few days.

Do not block every checkout or Commerce route at the WAF as a stopgap. Drupal has not said every route is affected, and blocking checkout will cost you sales faster than most attackers would. Patch first, then filter narrowly if you need to.

From our engagements: in Drupal Commerce shops we test, the authorization gaps rarely sit in the obvious admin screens. They sit in REST or JSON:API resources a developer switched on for a mobile app, trusting the front end to hide what users should not see.

Updating Commerce Core does not fix that kind of local mistake. An e-commerce penetration test that checks authorization on every exposed entity will find it.

Is the PHP2Shell activity the same campaign?

Nothing published links them. The same report covered PHP2Shell, the name for two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619. Each is scored CVSS 9.2, and both are seeing exploitation attempts. Their only connection to the Commerce flaw is timing. Drupal runs on PHP, so a Commerce shop should deal with both, as two separate jobs.

Wiz, which the article describes as Google-owned, said the share of organizations significantly affected in its data had fallen to 52.1% as of October 25. That figure describes Wiz’s own dataset, not every PHP server on the internet.

Wiz saw two kinds of activity. The first matched the public proof-of-concept exploits. The second used tools branded as PHP2Shell that did not exploit these CVEs at all. Instead, they relied on session poisoning and a separate local file inclusion bug in the target application.

Wiz researchers Yaara Shriki, Shahar Dorfman, Alma Blachsan and Yaron Samuel added that memory exhaustion alone does not complete the exploit chain, because differences in PHP builds, memory limits and worker behavior can stop the later stages. In their view, attackers already have exploit code; what they lack is tooling that works reliably.

We have covered the PHP side separately, including what PHP2Shell exploitation looked like on our honeypots. One reminder from that work: a patched PHP install keeps running old code until its workers restart.

What is still unknown about CVE-2026-118539?

Most of what an investigator would need is still missing. Drupal has not said:

  • which routes and entity fields lack the permission check;
  • when exploitation started, or whether it is targeted or mass scanning;
  • how many stores have been hit, or in which countries and sectors;
  • whether the printed upgrade targets are the real fixed releases;
  • what an attacker can concretely do once past the check.

In 2018, Drupalgeddon2 (CVE-2018-7600), a remote code execution bug in Drupal core rated CVSS 9.8, was exploited widely soon after its March 28 disclosure. The Commerce flaw sits in a different component and belongs to a different bug class, with no code execution claimed.

It does share one fact with Drupalgeddon2: attackers had it before most defenders had read the advisory.

When is a storefront test or breach response the right next call?

Call for outside help when you cannot prove three things: which Commerce Core release you run, that your orders match your gateway, and that no unexpected admin or API credentials have appeared. If the version check is clean and the reconciliation balances, patching and monitoring is a reasonable response.

If you find orders the gateway never saw, refunds nobody approved or an admin account nobody created, stop treating this as a patch job. Keep the logs, do not clean up yet, and bring in a data breach response team to establish what was changed and when. Patching first can overwrite the evidence that tells you which orders to reverse.

FAQ

What is CVE-2026-118539 in Drupal Commerce?

It is a missing-authorization flaw in the Drupal Commerce Core module. Certain routes and entity fields are not properly protected, which allows an access bypass that Drupal says may financially impact the vendor.

Is the Drupal Commerce Core vulnerability being exploited?

Yes. Drupal says it is actively exploited in the wild, but it has not shared victim counts, attacker names or indicators of compromise.

Should I upgrade Drupal Commerce to 3.3.13 or 8.x-2.41?

Those are the upgrade targets named in the coverage, but the same coverage lists them as the last affected versions. Check the Commerce Core advisory on Drupal.org for the confirmed fixed release on your branch before you close the ticket.

Is Drupal Commerce Core the same as Drupal core?

No. Commerce Core is a contributed module from the Drupal Commerce project. Drupal sites that do not run Commerce are not affected by this flaw.

Can CVE-2026-118539 affect checkout or order data?

Drupal has not named the affected routes, but it describes the impact as financial loss for the merchant. That makes order totals, discounts, payment states and refunds the most sensible things to check against your payment gateway.

Is the Drupal Commerce bug related to PHP2Shell?

No technical link has been published. PHP2Shell refers to two separate PHP flaws, CVE-2026-109618 and CVE-2026-109619, that were reported in the same news cycle.

If your orders and your payment gateway no longer agree, or you cannot tell which Commerce release is live, SafetyBis can help you recover and secure the store without losing the evidence.


← All articles

get in touch

Tell us what you're running

Scoping is free. We reply within one business day, and under 30 minutes for active incidents.