Drupal External Authentication: Access Bypass via DB Collations

Step by step
How the attack unfolded
Click a phase for details – or let the animation play through.
PHASE 1/5 · Reconnaissance

Attackers identify Drupal sites running the External Authentication module with external login.

T1595 – Active Scanning T1592 – Gather Victim Host Information
  • Target: Drupal sites with external login (LDAP, CAS, SAML, SimpleSAMLphp, certificates, BankID)
  • Affected: externalauth module in all versions < 2.0.13
  • Per project page, 100,455 websites use the module (15 Aug 2026)
PHASE 2/5 · Initial Access

A manipulated external identity exploits the collation-dependent comparison flaw in authmap.

T1190 – Exploit Public-Facing Application
  • CVE-2026-73476, rated 'Moderately critical' (13/25)
  • Module does not byte-exactly compare externally supplied identity values
  • Comparison relies on lenient DB collations (e.g. utf8mb4_unicode_ci, utf8mb4_general_ci)
  • Patch example: 'user1' and 'üser1' are treated as identical
PHASE 3/5 · Defense Evasion

A mismatched authmap lookup treats two distinct identities as equal, bypassing access control.

T1078 – Valid Accounts
  • Before 2.0.13, a DB hit sufficed without character-by-character verification
  • Case-insensitive / accent-insensitive comparison causes the mismatch
  • CWE-284 (Improper Access Control), CVSS v4 5.3 per secondary source
  • Exploit availability rated 'Theoretical' in the advisory
PHASE 4/5 · Privilege Escalation

If the mismatch hits a privileged account, the attacker gains its rights.

T1078 – Valid Accounts
  • External identity can map to another user's Drupal account
  • Impact depends on the privileges of the incorrectly matched account
  • Not a Drupal core flaw, no RCE – access bypass in a contrib module
PHASE 5/5 · Impact

The attacker gains unauthorized access to another user's account.

T1531 – Account Access Removal
  • Takeover of another user's Drupal account is possible
  • Remediation via update to 2.0.13 (released 12 Aug 2026)
  • Patch: binary-safe columns + strict PHP === comparison via update hook externalauth_update_8104()
  • No entry in the CISA KEV catalog (version 2026.08.14)
Short & clear answers
Frequently asked questions about this incident
Am I affected by CVE-2026-73476?
You are at elevated risk if the drupal/externalauth package in a version before 2.0.13 is installed and active, external identities (e.g. via LDAP, SAML, CAS, certificates or BankID) are used, and your website runs on MySQL or MariaDB. In addition, the authmap table must contain mappings and one of the common, non-binary collations must be in use. The Drupal Security Team stresses that the affected collations are 'quite common' and therefore recommends the upgrade to all users.
What do I need to do right now?
Update the External Authentication module to version 2.0.13, released on 12 August 2026 and compatible with Drupal 10.1 and 11. During the update, the update hook externalauth_update_8104() runs and migrates the authname and provider columns to a binary-safe format. The security team explicitly recommends the upgrade for all users of the module, regardless of their exact database configuration.
How do I check whether the module is even installed on my site?
Run the command composer outdated "drupal/*" in your project directory and search the composer.lock file for drupal/externalauth. If the package is not installed, this CVE does not affect you. Simply looking at your login forms is not enough because the module has no visible interface — under Extensions, also check which SSO or login modules use it as a dependency.
How dangerous is this vulnerability really?
The flaw is rated 'moderately critical' at 13 out of 25 points and allows an access bypass in which an external identity can be incorrectly mapped to another user's Drupal account. It is not a remote code execution and not a flaw in Drupal core, but in a contributed add-on module. Exploit availability is rated 'theoretical', and the vulnerability is not listed in the CISA KEV catalog — there is currently no evidence of active attacks.
Are there any known attacks or data breaches from this flaw?
No, at the time of review there is no public exploit code and no documented cases of real-world compromise. CVE-2026-73476 is not listed in the official CISA KEV catalog (version 2026.08.14). However, this is not proof that exploitation is impossible — the vendor's clear recommendation is 'upgrade for all'.
More security news
You might also be interested in
Critical Elementor Pro Flaw: Attackers Can Fully Take Over WordPress Sites
A file upload bug in Elementor Pro up to 4.2.1 allows RCE without login. Version 4.2.2 fixes the flaw – update now!
Pods Plugin: Critical Flaw Enables Admin Takeover, No Login
A critical flaw in the WordPress plugin Pods lets attackers overwrite admin passwords without login. Over 100,000 sites are affected.
miniOrange SAML SSO: Critical Bypass Turns Attackers Into Admins
Two critical auth bypasses in the miniOrange SAML SSO plugin allow forged SAML assertions—up to full WordPress admin access.