DRUPAL-CONTRIB-2026-260: Composer/drupal/commerce_license vulnerability
This module enables you to sell licenses granting access to resources, such as user roles, files, or protected content.
The module doesn't sufficiently restrict access to license fields for users with the "update own commerce\license" permission. A license owner can change the rights granted by their license and the license state, which can result in privilege escalation, up to the Administrator role for the site.
This vulnerability is mitigated by the fact that an attacker must own a license, and have a role with the "update own commerce\license" permission, which is not granted by default.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/commerce_licenseto a version that resolves this vulnerability.Fixed in 3.1.1