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

CVE-2026-87943: Drupal SAML SSO Auth Bypass Vulnerability

CVE-2026-87943 is an authorization bypass flaw in Drupal SAML SSO Service Provider that enables forceful browsing attacks. This article covers the 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-87943 Overview

CVE-2026-87943 is a Missing Authorization vulnerability [CWE-862] in the Drupal SAML SSO - Service Provider contributed module. The flaw allows unauthenticated attackers to perform forceful browsing against protected resources served through the module. All versions from 0.0.0 through 3.2.0 are affected.

The weakness stems from the module failing to enforce authorization checks on specific routes. Attackers can request restricted endpoints directly over the network without any user interaction or privileges. Successful exploitation leads to limited disclosure of information and limited integrity impact on the Drupal site.

Critical Impact

Unauthenticated network attackers can access resources that should require authentication, exposing confidential data and permitting limited modification of application state.

Affected Products

  • Drupal SAML SSO - Service Provider module versions 0.0.0 through 3.2.0
  • Drupal sites that install the contributed SAML SSO Service Provider module
  • Any Drupal deployment relying on this module for SAML-based federated authentication

Discovery Timeline

  • 2026-10-22 - CVE-2026-87943 published to the National Vulnerability Database
  • 2026-10-22 - Last updated in NVD database
  • 2026-10-22 - EPSS probability score published at 0.142%

Technical Details for CVE-2026-87943

Vulnerability Analysis

The SAML SSO - Service Provider module acts as a Service Provider (SP) in SAML federations, consuming assertions from an Identity Provider (IdP) to authenticate Drupal users. Routes exposed by the module should enforce access control before returning data or performing state changes.

The vulnerability stems from one or more routes lacking the required authorization check. An attacker can navigate directly to these endpoints by guessing or enumerating URLs. Because the module skips the permission validation step, the request succeeds without a valid Drupal session or SAML assertion.

The scope is unchanged and both the confidentiality and integrity impacts are low. There is no direct availability impact. The attack requires no privileges and no user interaction, making mass scanning viable against exposed Drupal sites.

Root Cause

The root cause is a missing authorization control [CWE-862] on module-provided routes. Drupal routes declare access requirements through _permission, _role, or _custom_access keys in a *.routing.yml file. When these requirements are omitted or set to _access: 'TRUE', Drupal grants access to any requester.

Attack Vector

Exploitation is purely network-based. An attacker enumerates module paths against a target Drupal installation and issues HTTP GET or POST requests to the vulnerable endpoints. Because no authentication is required, the attack can be fully automated at scale.

See the Drupal Security Advisory SA-CONTRIB-2026-141 for technical details and the authoritative endpoint list.

// No verified proof-of-concept code is available at the time of publication.
// Refer to the Drupal advisory for details on the affected routes.

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-87943

Indicators of Compromise

  • Unauthenticated HTTP requests to SAML SSO - Service Provider module paths that return 200 OK instead of 302 redirects to a login page
  • Access log entries targeting module routes from IP addresses with no prior authenticated session
  • Spikes in requests to paths associated with the saml_sp module from scanning infrastructure

Detection Strategies

  • Review Drupal access logs for requests to SAML SSO module endpoints that bypass the normal login flow
  • Correlate web server logs with session tables to identify responses served without an authenticated SESS cookie
  • Deploy web application firewall rules that require an authenticated session cookie on sensitive module routes

Monitoring Recommendations

  • Forward Drupal watchdog and web server logs to a centralized analytics platform for anomaly detection
  • Alert on repeated enumeration patterns against /saml or related module paths from a single source
  • Track module version inventory across Drupal fleets to confirm patch deployment

How to Mitigate CVE-2026-87943

Immediate Actions Required

  • Identify all Drupal sites running the SAML SSO - Service Provider module at version 3.2.0 or earlier
  • Upgrade the module to the fixed release referenced in the Drupal Security Advisory
  • Clear Drupal caches with drush cr after the upgrade to ensure new route definitions load
  • Audit access logs for prior unauthenticated requests to module endpoints and investigate anomalies

Patch Information

Drupal has published remediation guidance in SA-CONTRIB-2026-141. Administrators should apply the fixed release of the SAML SSO - Service Provider module as directed in the advisory. The patch adds the missing authorization checks on affected routes.

Workarounds

  • Restrict access to module routes at the web server or reverse proxy layer until the patch is applied
  • Place the Drupal site behind an authenticating reverse proxy that enforces session validation on SAML SP paths
  • Temporarily disable the SAML SSO - Service Provider module if federated login is not business critical
bash
# Example: upgrade the module using Composer and clear caches
composer update drupal/saml_sp --with-dependencies
drush updatedb
drush cache:rebuild

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.