CVE-2026-122067 in REST & JSON API Authentication Module
Summary
by MITRE • 11/26/2026
Authentication Bypass Using an Alternate Path or Channel vulnerability in Drupal REST & JSON API Authentication for Drupal allows Authentication Bypass. This issue affects REST & JSON API Authentication for Drupal versions: from 0.0.0 to 3.2.1.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The identified vulnerability represents a critical authentication bypass flaw within the REST and JSON API subsystem of Drupal, specifically affecting module versions ranging from 0.0.0 through 3.2.1. This security defect is categorized under CWE-287, which describes Improper Authentication, and more specifically aligns with MITRE ATT&CK technique T1078, Valid Accounts, as it allows an attacker to gain unauthorized access by circumventing the intended authentication mechanisms. The core issue stems from a logic error in how the API handles requests that utilize alternative pathways or channels for data transmission, rather than adhering strictly to the primary authenticated endpoints designed by the system architecture.
In a properly secured RESTful service, every request must be validated against established credentials before any business logic is executed. However, in this vulnerable implementation of Drupal's JSON API module, certain internal routes or fallback mechanisms fail to enforce strict authentication checks when accessed via specific alternative paths. This architectural oversight creates a side channel through which unauthenticated actors can interact with sensitive endpoints that are supposed to be protected by user sessions or token-based verification. The flaw essentially allows an attacker to bypass the login gatekeeper entirely by exploiting these less scrutinized entry points within the API framework, effectively rendering the authentication layer obsolete for those specific operations.
The operational impact of this vulnerability is severe, as it grants unauthorized users full access to the functionalities exposed through the affected REST endpoints. Depending on the permissions configured in the Drupal instance, an attacker could potentially read sensitive user data, modify content, execute administrative actions, or escalate privileges within the application environment. Since JSON APIs are often used for headless CMS operations and mobile applications, this bypass compromises not only web-based interfaces but also any third-party integrations relying on these API endpoints for secure communication. The lack of authentication means that automated scripts can easily exploit this flaw to scrape data or perform malicious actions at scale without detection by standard security monitoring tools that rely on identifying failed login attempts rather than successful unauthorized access via alternate channels.
Mitigation strategies must focus on immediate remediation and long-term architectural hardening. The primary recommendation is to upgrade the Drupal REST and JSON API module to version 3.2.2 or later, where this logic error has been corrected by enforcing authentication checks across all alternative paths and ensuring consistent validation protocols regardless of the request channel used. For organizations unable to patch immediately due to compatibility constraints, a temporary workaround involves implementing strict access control rules at the web server level using tools like Apache mod_security or Nginx limit_req_zone to restrict access to API endpoints based on IP reputation or rate limiting, thereby reducing the attack surface. Additionally, security teams should audit their Drupal configuration to disable any unused REST resources and ensure that all exposed APIs require robust authentication methods such as OAuth2 or JSON Web Tokens with proper expiration policies. Continuous monitoring of API logs for anomalous traffic patterns indicative of bypass attempts is also essential to detect potential exploitation in real-time.