Drupal security updates, in plain English · Module

Commerce License

3,330 sites report using it · on drupal.org · 1 security update explained here

This module enables a website to sell access to restricted resources like files or protected content.

Below is every security update for Commerce License that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Commerce License

Moderately critical · 3,330 sites report using it · SA-CONTRIB-2026-260 · on drupal.org · Week of 28 October 2026

An ordinary account on the site could change the access rights granted by their purchase to give themselves administrator privileges. They could also see data they should not have access to.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youAny site using this module where a user owns a purchase and has the access right to update it.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Commerce License to 3.1.1.

For developers: what the fix changed

The fix implements access control at the field level by introducing LicenseAccessControlHandler and defining restricted_fields in the License entity annotation to prevent users from modifying critical fields on their licences. It also adds LicenseAdminRouteSubscriber to restrict admin routes and updates LicensePermissionProvider to restrict create and update permissions.

3.1.0 to 3.1.1 1 commit, 11 files including 6 tests.

  • commerce_license.services.yml +5 −0 fix
  • src/Entity/License.php +6 −1 fix
  • src/EventSubscriber/LicenseAdminRouteSubscriber.php +48 −0 fix
  • src/LicenseAccessControlHandler.php +46 −0 fix
  • src/LicensePermissionProvider.php +4 −0 fix

Full diff, 3.1.0 to 3.1.1

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK membership bodies, charities and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.