CVE-2026-142427: Composer/drupal/direct_checkout_by_url vulnerability
This module enables you to send customers directly to checkout with one or more products in their cart, using a URL that lists the products and their quantities.
The module doesn't sufficiently validate the product quantities given in the URL. An attacker can use this to change the total of their own order, and complete checkout paying less than the store's price for the products.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission Use direct checkout.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/direct_checkout_by_urlto a version that resolves this vulnerability.Fixed in 1.6.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must have a role granted the “Use direct checkout” permission. Users without that permission are not described as able to exploit the issue.
What is the impact of successful exploitation?
A permitted user can manipulate product quantities supplied through a direct-checkout URL, alter the total for their own order, and complete checkout for less than the store’s configured product price.
What configuration should be reviewed while a fix is pending?
Review which roles have the “Use direct checkout” permission and restrict it to trusted users. This reduces exposure because that permission is required for exploitation.