More than 30,000 websites run a vulnerable version of Drupal Commerce. Attackers are already exploiting the flaw to bypass access control.
The Drupal Security Team is warning about CVE-2026-118539. This is a vulnerability in Commerce Core. That module adds a shopping cart, a checkout page and sales APIs to a Drupal site. Drupal gives the flaw a risk score of 21 out of 25 and the label highly critical. According to Drupal, the flaw is already being actively exploited.
Access control bypassed
Commerce Core does not adequately protect certain routes and entity fields. This is a case of missing authorization (CWE-862): an attacker can directly request pages and data that they should not have access to. No account is needed, and every configuration of the module is vulnerable.
This allows a criminal to view some of the non-public data and modify some data. Drupal warns that the merchant could suffer financial damage as a result. Drupal does not disclose exactly which routes and fields are affected.
Affected versions
All 2.x versions before 8.x-2.41 and the 3.x versions before 3.3.13 are vulnerable. On 18 October, 42,002 sites reported that they use Commerce Core. Of those, 13,028 sites ran the 2.x branch and 17,019 a 3.x version. The 11,955 sites on version 1.x for Drupal 7 are not covered in the advisory. Drupal 7 has received no more security updates since 5 January 2025 and has therefore been running considerable security risks for quite some time.
Administrators should install version 3.3.13 or 8.x-2.41 as soon as possible. Both have been available since 28 October and also fix five less severe vulnerabilities in the module. Drupal also advises checking orders for irregularities.
Rapid exploitation
The flaw is yet another illustration of the state of cybersecurity today. There used to be days or even weeks between the disclosure of a bug and the availability of a patch on the one hand, and active exploitation on the other. That grace period has now disappeared entirely. Nearly all the bugs we reported on in recent weeks were already exploited during or right after the release of a patch.
You can put this development down to AI. With AI, it is possible to analyse a patch very quickly and see exactly which flaw it addresses. With that knowledge, AI can then write code itself to exploit the vulnerability. That used to require time and expertise, but not anymore.
