DRUPAL-CONTRIB-2026-298: Composer/drupal/rest_api_authentication vulnerability

Published Nov 4, 2026
·
Updated

The REST & JSON API Authentication module provides API authentication for Drupal sites.

The module does not properly reject requests when an API key is unconfigured, allowing unauthenticated attackers to bypass authentication and potentially access or modify protected resources. Sites are affected when API authentication is enabled but the application API key has not been generated.

Affected Software

1 affected componentFixes available
composer/drupal/rest_api_authentication<3.2.1
3.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.2.1

Event History

Nov 4, 2026
Advisory Published
via OSV·05:32 PM
Data Sourced
via OSV·05:32 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which sites are affected by this issue?

Affected sites have the REST & JSON API Authentication module enabled for API authentication and have not generated the application API key. The issue does not apply based on the provided information if an application API key has been generated.

2

What does an attacker need to exploit the bypass?

An attacker can exploit the issue without authentication when API authentication is enabled but the application API key is unconfigured. Successful exploitation may allow access to or modification of resources that are expected to be protected by API authentication.

3

What can be done if patching cannot happen immediately?

Generate and configure the application API key, and verify that API authentication rejects requests that do not provide valid authentication. Restrict access to protected API endpoints until that configuration has been confirmed.

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