SA-CONTRIB-2026-323: Critical severity 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.

Credit

Jakub Piasecki (zaporylie)

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 Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Sites using composer/drupal/commerce_license are exposed if JSON:API or REST has been configured to permit write access to order items. This write access is not enabled by default.

2

What does an attacker need to exploit the issue?

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

3

How can I determine whether my site is affected?

Check whether composer/drupal/commerce_license is installed and whether JSON:API or REST permits write operations on order items. If order-item writes are not allowed through those interfaces, the described mitigation applies.

4

What can be done if patching is not immediately possible?

Disable or restrict JSON:API and REST write access to order items. This removes the configuration condition required for exploitation.

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