CVE-2026-132687 in MediaWiki
Summary
by MITRE • 11/25/2026
Vulnerability in Wikimedia Foundation MediaWiki - CheckUser Extension. This vulnerability is associated with program files src/Api/ApiQueryCheckUser.php. This issue affects MediaWiki - CheckUser Extension: from 1.43.0 before 1.43.12, from 1.45.0 before 1.45.7, from 1.46.0 before 1.46.3, 1.47.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/25/2026
The Wikimedia Foundation MediaWiki CheckUser extension contains a critical security flaw located within the src/Api/ApiQueryCheckUser.php module that allows for unauthorized access to sensitive user data and potentially facilitates further exploitation of the wiki infrastructure. This vulnerability exists in specific version ranges including 1.43.0 through versions prior to 1.43.12, 1.45.0 through versions prior to 1.45.7, 1.46.0 through versions prior to 1.46.3, and the entire 1.47 release line. The CheckUser extension is designed for use by administrators with specific high-level privileges to investigate potential abuse or vandalism by tracing IP addresses associated with user accounts. However, due to improper access control checks within the API query handler, an attacker may be able to bypass these restrictions under certain conditions, leading to a significant breach of confidentiality and integrity principles defined in information security frameworks.
From a technical perspective, the flaw stems from insufficient validation or authorization logic within the ApiQueryCheckUser class which processes requests for checkuser data. In many implementations of such extensions, if input parameters are not strictly sanitized or if role-based access controls are incorrectly evaluated against the current user session context, it can lead to an Authorization Bypass vulnerability. This aligns with CWE-285 Improper Access Control and potentially CWE-918 Server-Side Request Forgery (SSRF) if the underlying mechanism allows for indirect interaction with internal services or databases beyond intended scope. The absence of robust checks means that authenticated users, even those without explicit checkuser permissions, might execute queries that return sensitive information such as IP addresses linked to specific edits or account creations. This represents a classic case where privilege escalation occurs not through code execution but through logical flaws in permission enforcement mechanisms within the application layer.
The operational impact of this vulnerability is severe for any MediaWiki installation relying on the CheckUser extension, particularly those hosting public-facing wikis with active user communities. If exploited successfully, an adversary could gain visibility into private investigative data that should be restricted to a small subset of trusted administrators. This exposure compromises the privacy rights of wiki users and undermines trust in the platform's ability to protect personal information. Furthermore, access to IP addresses can facilitate targeted attacks against specific individuals or infrastructure components associated with those IPs. In worst-case scenarios, this knowledge could aid in social engineering campaigns, doxxing activities, or more sophisticated network-based attacks aimed at disrupting service availability for particular users or administrative accounts. The ATT&CK framework categorizes such behaviors under T1078 Valid Accounts and potentially T1539 Steal Web Session Cookie if session tokens are also exposed through related flaws in the same module.
Mitigation strategies must prioritize immediate patching to eliminate the root cause of this authorization bypass. Administrators running affected versions should upgrade MediaWiki and its associated extensions to the latest stable releases where these issues have been resolved, specifically version 1.43.12 or later for the 1.43 branch, 1.45.7 or later for the 1.45 branch, 1.46.3 or later for the 1.46 branch, and any patched release of MediaWiki 1.47 that addresses this specific CVE. Until patching is feasible, temporary mitigations include restricting access to the API endpoint via web server configuration rules such as Apache mod_rewrite or Nginx location blocks if possible, although this may interfere with legitimate administrative functions requiring checkuser capabilities. Additionally, enforcing strict IP whitelisting for all administrative interfaces and ensuring that only verified administrators have direct HTTP access to sensitive wiki pages can reduce the attack surface significantly. Regular auditing of user permissions and review logs for unusual API query patterns related to CheckUser functionality are also recommended practices to detect potential exploitation attempts early in their lifecycle.