CVE-2026-132735 in MediaWiki
Summary
by MITRE • 11/25/2026
Improper Access Control vulnerability in Wikimedia Foundation MediaWiki - OATHAuth Extension. This vulnerability is associated with program files src/Auth/ReauthPrimaryAuthenticationProvider.php, src/Auth/SecondaryAuthenticationProvider.php. This issue affects MediaWiki - OATHAuth Extension: 1.47.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/25/2026
The identified vulnerability represents a critical failure in access control mechanisms within the Wikimedia Foundation's MediaWiki platform, specifically affecting the OATHAuth extension version 1.47. This flaw is rooted in the implementation of two core authentication components located at src/Auth/ReauthPrimaryAuthenticationProvider.php and src/Auth/SecondaryAuthenticationProvider.php. These modules are responsible for managing multi-factor authentication workflows, including re-authentication prompts that require users to verify their identity again before performing sensitive operations. The improper access control issue suggests that the system fails to correctly validate whether a user has legitimately completed the required secondary authentication step before granting access to protected resources or actions. This type of vulnerability allows an attacker who possesses valid credentials for a primary account to bypass the additional security layer provided by two-factor authentication, effectively reducing the strength of the authentication process to single-factor levels despite its configuration and intended enforcement.
From a technical perspective, this flaw likely stems from insufficient state management or logic errors in how the re-authentication token is validated against subsequent requests. In secure implementations, once a user completes multi-factor authentication, the system must maintain an authenticated session context that persists across related actions within a defined timeframe. If the ReauthPrimaryAuthenticationProvider or SecondaryAuthenticationProvider fails to properly check this status during critical operations, it may accept unauthenticated or partially authenticated requests as valid. This could occur due to missing checks on session variables, improper handling of authentication tokens, or race conditions where the state is not updated atomically before processing a request. Such logic flaws are particularly dangerous in high-privilege environments like MediaWiki because they undermine the fundamental assumption that multi-factor authentication provides an additional layer of security against credential theft and unauthorized access attempts.
The operational impact of this vulnerability is significant, as it directly compromises the integrity of account security for all users relying on OATHAuth for protection. Attackers who have obtained user passwords through phishing, brute force attacks, or data breaches can now bypass two-factor authentication entirely if they target endpoints governed by these specific provider classes. This means that even organizations with strict multi-factor policies are left exposed to unauthorized access, potential account takeover, and subsequent exploitation of privileges associated with the compromised accounts. In a wiki environment where content integrity is paramount, this could lead to malicious edits, defacement, or insertion of harmful links under legitimate user identities. Furthermore, it erodes trust in the security infrastructure provided by the extension, potentially forcing administrators to disable multi-factor authentication entirely if they cannot mitigate the risk quickly, thereby exposing all accounts to single-point-of-failure attacks.
This vulnerability aligns with CWE-284 Improper Access Control and falls under MITRE ATT&CK technique T1078 Valid Accounts, specifically relating to abuse of existing valid credentials without proper secondary verification. It also touches upon CWE-613 Insufficient Session Expiration if the re-authentication state is not properly invalidated or checked over time. To mitigate this risk, immediate patching to a version of OATHAuth that addresses these specific provider classes is essential. Administrators should ensure that all instances are updated and verify that multi-factor authentication enforcement rules are correctly applied across all protected actions. Additionally, implementing strict logging and monitoring for unusual login patterns or repeated failed re-authentication attempts can help detect exploitation attempts in real-time. Security teams should also review custom extensions or hooks that interact with these providers to ensure no additional bypass vectors exist outside the core codebase. Regular audits of authentication flows and adherence to OWASP Authentication Cheat Sheet guidelines will further strengthen resilience against such access control failures.