# CVE-2026-122067: REST & JSON API Authentication for Drupal authentication bypass

Source: https://junglewise.ai/threats/cve-2026-122067-drupal-contrib-2026-298-the-rest-json-api-authentication-module  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-04. Updated: 2026-11-06  
License: CC BY 4.0 with a link back

CVE-2026-122067 · Severity: info · Published 2026-11-04

The REST & JSON API Authentication module provides API access control for Drupal websites. When API authentication is enabled but the API key is not configured, the module fails to reject unauthenticated requests, allowing attackers to bypass authentication and access or modify protected resources without credentials.

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication](https://junglewise.ai/threats/technologies/drupal-rest-api-authentication). Vendors: [Drupal](https://junglewise.ai/threats/vendors/drupal), [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is CVE-2026-122067 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-122067 being exploited in the wild.

**How severe is CVE-2026-122067?** Informational severity, published 4 November 2026.

**Which products and versions are affected?** Drupal REST & JSON API Authentication before 3.2.1; Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication ECOSYSTEM:introduced=0,fixed=3.2.1.

**Is there a fix for CVE-2026-122067?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication: upgrade to 3.2.1 or later. Until then: If immediate upgrade is not possible, ensure that an API key has been generated and enable monitoring of administrative user access in the site logs to detect suspicious activity. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-122067 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-122067?** Check whether you run Drupal REST & JSON API Authentication or Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Rest Api Authentication: upgrade to 3.2.1 or later

If immediate upgrade is not possible, ensure that an API key has been generated and enable monitoring of administrative user access in the site logs to detect suspicious activity.

## Technical details

An authentication bypass vulnerability in the REST & JSON API Authentication module occurs when an API key is unconfigured, causing the module to improperly validate authentication for API requests. The vulnerability requires API authentication to be enabled on the site but with a missing or ungenerated API key. An unauthenticated network attacker can bypass authentication and access protected API resources.

## Affected products

- Drupal REST & JSON API Authentication before 3.2.1

## Identifiers

- CVE-2026-122067
- DRUPAL-CONTRIB-2026-298

## Timeline

- 2026-11-04: disclosed

## References

- [https://www.drupal.org/u/ksanjeev284](https://www.drupal.org/u/ksanjeev284)
- [https://www.drupal.org/sa-contrib-2026-298](https://www.drupal.org/sa-contrib-2026-298)

## Related threats

- [Drupal REST & JSON API Authentication access bypass](https://junglewise.ai/threats/cve-2026-96385-drupal-contrib-2026-182-this-module-enables-you-to-add-an-extra)
- [DRUPAL-CONTRIB-2024-022 - Drupal REST & JSON API Authentication module restricts and secures unauthorized access to…](https://junglewise.ai/threats/cve-2024-13258-drupal-contrib-2024-022-drupal-rest-json-api-authentication)
