CVE-2026-132670 in MediaWikiinfo

Summary

by MITRE • 11/25/2026

Improper Access Control vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Api/ApiQueryRevisionsBase.php. This issue affects MediaWiki: 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 best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/25/2026

The Wikimedia Foundation has identified a critical improper access control vulnerability within the MediaWiki software ecosystem, specifically located in the program file includes/Api/ApiQueryRevisionsBase.php. This flaw represents a significant deviation from expected security postures for content management systems that handle sensitive revision histories and user-generated data. The vulnerability allows unauthorized actors to bypass intended permission checks when querying or manipulating revision metadata through the API interface. By exploiting this misconfiguration, an attacker can potentially access information or perform actions that are restricted by the site's administrative policies, thereby undermining the integrity of the platform's access control mechanisms.

The technical root cause lies in how the ApiQueryRevisionsBase module processes input parameters and validates user permissions before executing database queries against revision tables. In affected versions, the logic fails to adequately verify whether the requesting user possesses the necessary privileges for specific operations involving sensitive fields or restricted namespaces. This oversight enables privilege escalation scenarios where lower-privileged users can retrieve data intended only for administrators or reviewers. The flaw is particularly dangerous because it operates through standard API endpoints that are often exposed publicly, making exploitation straightforward without requiring complex network-level attacks or social engineering components.

This vulnerability impacts MediaWiki versions ranging from 1.43.0 up to but not including 1.43.12, as well as the development branches starting from 1.45.0 before 1.45.7 and 1.46.0 before 1.46.3, along with version 1.47 which remains affected due to similar architectural patterns in its API layer. The broad range of impacted versions highlights a systemic issue within the revision query handling logic that persisted across multiple major releases. Organizations running these versions are at risk of data leakage regarding user edits, IP addresses associated with revisions, and potentially confidential page content if such restrictions were previously enforced via access controls now bypassed by this flaw.

From an industry standard perspective, this vulnerability aligns closely with CWE-284 Improper Access Control, where the software does not properly restrict actions or information to authorized actors. Furthermore, it maps to MITRE ATT&CK technique T1078 Valid Accounts, as attackers leverage legitimate but insufficiently validated API credentials to access restricted resources. The exploitation path typically involves crafting specific HTTP requests with manipulated parameters that trigger the flawed permission check logic within ApiQueryRevisionsBase.php. Successful exploitation can lead to unauthorized disclosure of sensitive information, violating confidentiality requirements and potentially facilitating further attacks such as targeted phishing or reputation damage against wiki communities.

Mitigation strategies must prioritize immediate patching for all affected instances. Administrators should upgrade MediaWiki to version 1.43.12 or later, 1.45.7 or later, 1.46.3 or later, and ensure that any deployment of version 1.47 is updated with the latest security patches provided by the Wikimedia Foundation. In environments where immediate patching is not feasible due to operational constraints, temporary mitigations include restricting API access via firewall rules to trusted IP ranges only, disabling specific high-risk API modules if they are not essential for public-facing operations, and implementing strict rate limiting to reduce the blast radius of potential automated exploitation attempts. Continuous monitoring of API logs for anomalous query patterns involving revision data can also aid in early detection of active exploitation efforts.

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!