- Package
- drupal/commerce_license
- Fixed in
- 3.1.2
- Published
- Wed 11 Nov 2026, 17:47 Lisbon
In plain words
An attacker can take over another user's licence because the module does not sufficiently validate the licence referenced by an order item. This requires JSON:API or REST to be configured to allow writes to order items, which is not the default.
How serious is it?
The source record has no severity score, so the rating is yours to make. Read the description for two things: what an attacker needs (an account, a particular setting, a user who clicks a link) and what they get. Drupal security advisories carry their own risk score on drupal.org, which is not in the OSV record. When the advisory gives no details at all, assume the worst until you know more: an unfixed issue with an unknown impact is not a low one.
Am I affected?
Check composer.lock for drupal/commerce_license and its installed version. The advisory lists 3.1.2 as fixed but gives no affected version range. Check whether JSON:API or REST is configured to allow writes to order items, as this is required for the flaw to be exploited.
Did you install drupal/commerce_license, or did a dependency?
Composer says why a package is in your project:
composer why drupal/commerce_license
If the output names your own project, you required drupal/commerce_license directly and the update is yours to make. If it names another package, drupal/commerce_license came in through it, and that package's version constraint decides which release you can install. To see what stands between you and the fix, ask Composer directly:
composer why-not drupal/commerce_license 3.1.2
Every line it prints is a constraint that blocks 3.1.2. Update the package it names, or raise your own constraint, and run it again until it prints nothing.
What to do
Check which version you have, then update to a fixed release for your branch (3.1.2):
composer show drupal/commerce_license | grep versions
composer update drupal/commerce_license
If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.
If you cannot update yet
Do not configure JSON:API or REST to allow writes to order items. Such writes are not allowed by default.
Check the whole project at once
Composer 2.4 and later can list every installed package with a known advisory, this one included once Packagist has it:
composer audit --locked
--locked reads composer.lock instead of the vendor folder, so you can run it on a release tag or in CI without installing anything. It exits with a non-zero code when it finds an advisory, which is enough to fail a build. Run it on every branch you still support, not only the newest: an older release your customers run is affected in the same way.
Under the Cyber Resilience Act
No exploitation of this vulnerability is known, so on its own it does not start the Article 14 reporting clock, which covers actively exploited vulnerabilities. That changes if you learn it is being exploited through your product: then the 24-hour early warning applies.
Either way, if drupal/commerce_license ships inside a product you sell, the CRA treats its vulnerabilities as yours. Article 13(5) asks for due diligence on the components you include, and from 11 December 2027 Annex I asks you to ship security fixes without delay and free of charge for the support period you declared. A short note in your changelog saying which release updated drupal/commerce_license, and why, is the evidence you will want later.
What goes in each Article 14 report · Does the CRA apply to your product?
drupal/commerce_license's record
This is one of 3 advisories for drupal/commerce_license in the digest, the first published on 28 October 2026. A package with several advisories is not worse than one with none, which often just means nobody looked; it does tell you to keep it on your update list and to run composer audit after each update.
Other advisories for drupal/commerce_license
- CVE-2026-126733 · 11 Nov 2026 · Unrated · fixed in 3.1.2 This module enables you to sell licenses (such as roles or files) using Drupal Commerce. The module doesn't sufficiently validate license order items, which un...
- CVE-2026-118555 · 28 Oct 2026 · Unrated · fixed in 3.1.1 This module enables you to sell licenses granting access to resources, such as user roles, files, or protected content. The module doesn't sufficiently restric...
The advisory's description
This module enables you to sell licenses that grant access to resources (such as roles) through Drupal Commerce.
The module doesn't sufficiently validate the license referenced by an order item, allowing an attacker to take over another user's license.
This vulnerability is mitigated by the fact that JSON:API or REST must be configured to allow writes to order items, which is not the default.
The advisory
- OSV.dev: DRUPAL-CONTRIB-2026-323
- The week's digest, with the other advisories from 9 Nov 2026
- All advisories for drupal/commerce_license