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

CVE-2026-87937: Drupal CAS Server Open Redirect Flaw

CVE-2026-87937 is an open redirect vulnerability in Drupal Central Authentication System Server that enables attackers to redirect users to malicious sites. This article covers technical details, affected versions, and steps to secure your system.

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-87937 Overview

CVE-2026-87937 is an open redirect vulnerability in the Drupal Central Authentication System (CAS) Server contributed module. The flaw allows attackers to craft URLs that redirect users to attacker-controlled sites while appearing to originate from a trusted Drupal CAS endpoint. This weakness enables phishing campaigns and data source spoofing against users who trust the hosting domain. The issue affects CAS Server versions 0.0.0 to 2.0.4 and 2.1.0 to 2.1.3. The vulnerability is categorized under CWE-601: URL Redirection to Untrusted Site.

Critical Impact

Attackers can abuse the trusted CAS Server domain to redirect authenticated users to malicious sites, enabling credential theft and data source spoofing.

Affected Products

  • Drupal Central Authentication System (CAS) Server versions 0.0.0 through 2.0.4
  • Drupal Central Authentication System (CAS) Server versions 2.1.0 through 2.1.3
  • Drupal sites using the contributed CAS Server module for single sign-on

Discovery Timeline

  • 2026-10-22 - CVE CVE-2026-87937 published to the National Vulnerability Database
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-87937

Vulnerability Analysis

The Drupal CAS Server module implements the Central Authentication Service protocol, which issues service tickets and redirects users back to requesting applications after authentication. CVE-2026-87937 arises from insufficient validation of the redirect target during this flow. An attacker can supply a crafted service URL that points to an untrusted domain. The CAS Server honors the parameter and redirects the user without verifying whether the destination is a legitimate relying party. Because the initial request originates from the trusted CAS Server domain, users and security tooling may treat the resulting redirect as legitimate.

Root Cause

The root cause is missing or incomplete allowlist validation of the redirect target parameter supplied to the CAS Server endpoint. The module accepts externally supplied URLs and uses them in HTTP redirect responses without confirming they belong to a registered service. This matches the [CWE-601] pattern of trusting user-controlled input to determine redirect destinations.

Attack Vector

An attacker crafts a URL to the vulnerable CAS Server endpoint with a redirect parameter pointing to an attacker-controlled site. The attacker then distributes the link through email, chat, or web content. When a victim clicks the link, the CAS Server processes the request and issues an HTTP redirect to the malicious destination. The attacker-controlled landing page can impersonate the original application and harvest credentials, session tokens, or other sensitive data. Refer to the Drupal Security Advisory for protocol-level technical details.

Detection Methods for CVE-2026-87937

Indicators of Compromise

  • Outbound HTTP 302 responses from CAS Server endpoints with Location headers pointing to domains outside the registered service list.
  • CAS Server access logs showing service= or redirect parameters containing fully qualified URLs to unknown third-party hosts.
  • Spikes in authentication flows originating from external referrers or shortened URL services.

Detection Strategies

  • Parse CAS Server web server logs for redirect parameters and compare destinations against an approved relying-party allowlist.
  • Deploy web application firewall rules that inspect requests to CAS endpoints and flag external redirect targets.
  • Correlate authentication events with downstream user activity to identify sessions that terminate at unknown external domains.

Monitoring Recommendations

  • Monitor the Drupal CAS Server module version across all sites and alert on installations running affected versions.
  • Ingest Drupal web logs into a centralized analytics platform and build detections for anomalous redirect targets.
  • Track user reports of phishing emails referencing the organization's CAS Server hostname.

How to Mitigate CVE-2026-87937

Immediate Actions Required

  • Inventory all Drupal sites using the CAS Server contributed module and identify versions in the vulnerable ranges.
  • Upgrade the CAS Server module to a fixed release as published in the Drupal Security Advisory.
  • Review authentication logs for suspicious redirect patterns during the exposure window.

Patch Information

Drupal has published remediation guidance in security advisory SA-CONTRIB-2026-135. Site administrators must update the CAS Server module beyond versions 2.0.4 and 2.1.3 to receive the fix. Consult the Drupal Security Advisory for exact fixed version numbers and upgrade instructions.

Workarounds

  • Restrict access to the CAS Server endpoints through network controls or authenticated reverse proxies until patches are applied.
  • Configure a strict allowlist of permitted relying-party service URLs at the web server or WAF layer.
  • Educate users to verify destination URLs after authentication and report unexpected redirects.
bash
# Example: Drush command to update the CAS Server module to the fixed release
drush pm:update cas_server
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.