CVE-2026-126732: Composer/drupal/commerce_license vulnerability

Published Nov 11, 2026
·
Updated

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.

Affected Software

1 affected componentFixes available
composer/drupal/commerce_license<3.1.2
3.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/commerce_license to a version that resolves this vulnerability.

    Fixed in 3.1.2

Event History

Nov 11, 2026
Advisory Published
via OSV·05:47 PM
Data Sourced
via OSV·05:47 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments are exposed only if JSON:API or REST is configured to allow write access to order items. This is not the default configuration.

2

What does an attacker need to do to exploit the issue?

An attacker needs the ability to submit writes to order items through JSON:API or REST. Insufficient validation of the referenced license can then allow takeover of another user's license.

3

What can be done if the module cannot be updated immediately?

Disable or restrict JSON:API and REST write access to order items. Since such write access is required for exploitation, removing it mitigates the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203