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-87952 Overview
CVE-2026-87952 is an authentication bypass by capture-replay vulnerability in the Drupal SAML SSO - Service Provider contributed module. The flaw affects module versions 0.0.0 through 3.2.0 and is classified under [CWE-294: Authentication Bypass by Capture-replay]. An attacker who can capture a valid SAML authentication response may replay it to gain access using stolen credentials. The weakness permits remote authentication abuse against the Service Provider endpoint. The issue carries limited integrity impact and no confidentiality or availability impact, reflecting its narrow scope within the SAML assertion processing path.
Critical Impact
Remote attackers with captured SAML assertions can replay them against affected Drupal sites to bypass authentication under constrained conditions.
Affected Products
- Drupal SAML SSO - Service Provider module versions 0.0.0 to 3.2.0
- Drupal sites relying on the contributed SAML SSO Service Provider for federated login
- Deployments integrating external Identity Providers via this module
Discovery Timeline
- 2026-10-22 - CVE-2026-87952 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-87952
Vulnerability Analysis
The Drupal SAML SSO - Service Provider module processes SAML authentication responses issued by an Identity Provider (IdP). The module fails to adequately prevent reuse of previously issued and valid SAML assertions. An attacker who intercepts or otherwise obtains a legitimate SAML response can resubmit it to the Service Provider endpoint. The module accepts the replayed assertion and authenticates the attacker as the original user.
Exploitation is network-based and does not require user interaction. The attacker must already hold a captured assertion or stolen credential material, which constrains practical exploitation. Successful replay produces limited integrity impact, as the attacker gains the session scope of the original principal without altering backend data stores directly.
Root Cause
The root cause is insufficient enforcement of SAML assertion replay protections. SAML specifications require Service Providers to validate assertion freshness through mechanisms such as NotBefore and NotOnOrAfter conditions, unique ID tracking, and consumption of OneTimeUse elements. The affected module versions do not enforce these controls strictly enough to reject a previously consumed assertion within its validity window.
Attack Vector
An attacker captures a valid SAML response, typically through compromised browser sessions, logging misconfigurations, or man-in-the-middle positioning against unprotected transport. The attacker then submits the response to the Drupal Assertion Consumer Service URL. Because the module does not reliably track previously consumed assertion identifiers, the replayed message is accepted. Attack complexity is high because the attacker must first obtain a usable assertion and operate within its validity window.
No verified exploitation code is publicly available. Technical details are documented in the Drupal Security Advisory.
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 AttacksDetection Methods for CVE-2026-87952
Indicators of Compromise
- Multiple successful SAML authentications for the same user from different IP addresses within a short window
- Repeated SAML Response submissions with identical ID or AssertionID values in web server logs
- Authentication events for users during periods when the legitimate user is known to be inactive
Detection Strategies
- Enable verbose logging on the Drupal SAML SSO - Service Provider module and forward authentication events to a central log platform
- Correlate SAML response identifiers across sessions to identify duplicate assertion consumption
- Alert on authentication from geolocations or user agents that deviate from the user's baseline behavior
Monitoring Recommendations
- Monitor the SAML Assertion Consumer Service endpoint for duplicate InResponseTo values
- Track IdP-issued assertion IDs and flag reuse across the Service Provider
- Review web access logs for sequential POSTs containing SAML response payloads from distinct sources
How to Mitigate CVE-2026-87952
Immediate Actions Required
- Upgrade the Drupal SAML SSO - Service Provider module to a version later than 3.2.0 once a fixed release is available from the maintainer
- Review the Drupal Security Advisory for the vendor-recommended fixed version
- Rotate SAML signing certificates and invalidate active sessions for exposed accounts
Patch Information
Refer to the Drupal Security Advisory sa-contrib-2026-150 for the official patched release of the SAML SSO - Service Provider module. Apply the update through the standard Drupal module update process after testing in a staging environment.
Workarounds
- Enforce HTTPS for all SAML endpoints to reduce the likelihood of assertion capture
- Configure the IdP to issue assertions with short NotOnOrAfter validity windows
- Restrict access to the Assertion Consumer Service endpoint through network controls where feasible
- Require re-authentication for sensitive Drupal operations until the module is upgraded
# Example: update the Drupal module using Composer
composer update drupal/samlauth --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

