SA-CONTRIB-2026-298: Critical severity composer/drupal/rest_api_authentication vulnerability
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.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/rest_api_authenticationto a version that resolves this vulnerability.Fixed in 3.2.1