Skip to main content
Vulnerability Database/CVE-2026-96385

CVE-2026-96385: Drupal REST API Authentication Bypass

CVE-2026-96385 is an authentication bypass flaw in Drupal REST & JSON API Authentication that allows attackers to circumvent security controls. This article covers technical details, affected versions, security impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-96385 Overview

CVE-2026-96385 is an authentication bypass vulnerability affecting the REST & JSON API Authentication contributed module for Drupal. The flaw stems from an alternate path or channel that allows requests to bypass authentication controls enforced by the module. Attackers can reach protected REST and JSON API endpoints without presenting valid credentials. The issue affects all versions of the module from 0.0.0 up to and including 3.2.0. The weakness is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel.

Critical Impact

Unauthenticated network attackers can access REST and JSON API endpoints protected by the module, leading to disclosure and modification of data exposed through those APIs.

Affected Products

  • Drupal REST & JSON API Authentication module versions 0.0.0 through 3.2.0
  • Drupal sites exposing REST or JSON:API endpoints secured by this module
  • Any downstream Drupal distributions bundling the vulnerable module version

Discovery Timeline

  • 2026-10-22 - CVE-2026-96385 published to the National Vulnerability Database (NVD)
  • 2026-10-22 - Last updated in NVD database
  • 2026-10-22 - EPSS score recorded at 0.182% (percentile 7.407)

Technical Details for CVE-2026-96385

Vulnerability Analysis

The REST & JSON API Authentication module adds authentication enforcement in front of Drupal's REST and JSON:API resources. CVE-2026-96385 shows that this enforcement can be circumvented through an alternate request path or channel that the module does not inspect. Attackers reach the underlying resource handler directly, so the module's credential checks never execute.

The impact aligns with [CWE-288]. Confidentiality and integrity of data served through the APIs are at risk, while availability is not directly affected. Because the attack is network-based and requires no privileges or user interaction, exploitation can be fully automated against exposed Drupal sites.

Root Cause

The root cause is incomplete coverage of request entry points. The module intercepts the expected authentication path but fails to apply the same controls to an alternate route that resolves to the same protected resource. Drupal's routing and request pipeline then dispatches the request to the API handler without the module's authentication gate running.

Attack Vector

An unauthenticated attacker crafts HTTP requests to the alternate endpoint exposed by Drupal and the vulnerable module. Because the module does not evaluate credentials on this path, the request reaches the REST or JSON:API controller and returns data or performs state changes according to the controller's own permission checks. See the Drupal Security Advisory for module-specific technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-96385

Indicators of Compromise

  • Successful HTTP 200 responses to /jsonapi/* or /rest/* endpoints from clients that never submitted an authentication header or token
  • Access log entries showing API resource responses without preceding calls to the module's authentication endpoints
  • Spikes in anonymous requests to API routes from a small set of source IP addresses
  • Unexpected read or write operations on content entities exposed via JSON:API

Detection Strategies

  • Review web server and Drupal access logs for API routes accessed without authentication tokens, API keys, or session cookies
  • Compare the module version in use against 3.2.0 and flag any site at or below that version
  • Baseline normal API consumer behavior and alert on deviations in request paths, user agents, and authentication headers

Monitoring Recommendations

  • Forward Drupal, PHP-FPM, and reverse proxy logs to a centralized logging platform for correlation
  • Alert on anonymous access to any endpoint under /jsonapi or /rest that is expected to require authentication
  • Track per-source request rates to API endpoints and alert on sudden increases from previously unseen IPs

How to Mitigate CVE-2026-96385

Immediate Actions Required

  • Upgrade the REST & JSON API Authentication module to the fixed release identified in the Drupal Security Advisory
  • Inventory all Drupal sites and confirm the installed module version is above 3.2.0
  • Review API access logs for the past 30 days for signs of unauthenticated access to protected endpoints
  • Rotate API keys, tokens, and credentials that may have been exposed through unauthorized API responses

Patch Information

Drupal published remediation guidance in advisory SA-CONTRIB-2026-182. Apply the vendor-provided module update that supersedes version 3.2.0. Verify the upgrade through Drupal's module management interface or by inspecting the module's info.yml file.

Workarounds

  • Restrict network access to /jsonapi and /rest endpoints at the reverse proxy or web application firewall until the module is updated
  • Disable the REST and JSON:API modules on sites that do not require programmatic API access
  • Enforce authentication at an upstream layer, such as mutual TLS or an API gateway, as a compensating control
bash
# Example reverse proxy rule to block anonymous access to API routes until patched
# nginx snippet - require an Authorization header for API endpoints
location ~ ^/(jsonapi|rest)/ {
    if ($http_authorization = "") {
        return 401;
    }
    proxy_pass http://drupal_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.