CVE-2026-122067: 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 authentication bypass?

Affected sites have the REST & JSON API Authentication module enabled for API authentication and do not have an application API key generated. The issue applies to the Composer package composer/drupal/rest_api_authentication.

2

What does an attacker need to exploit the issue?

An attacker does not need to authenticate if API authentication is enabled but the application API key is unconfigured. They may be able to bypass authentication for protected API resources.

3

What is the immediate mitigation if patching is not available?

Generate and configure the application API key, or disable API authentication exposure until the key is configured. This removes the stated condition that allows requests to be accepted without proper rejection.

4

How can I determine whether my site is currently exposed?

Check whether the REST & JSON API Authentication module is enabled and being used for API authentication, then verify that an application API key has been generated and configured. A site meeting the enabled-module and missing-key conditions is affected.

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