Summary
CVE-2026-132736 is an information disclosure vulnerability in the MediaWiki REST API. The Content-Type header is expanded as wikitext before the read permission check runs, so anyone can read content from private wikis. It is rated 8.7 (High) under CVSS v4.0, and Wikimedia rates it Critical.
Technical details
- Root cause: the REST API expands the Content-Type header as wikitext before the read check is performed (CWE-200, CWE-74).
- Trigger conditions: a MediaWiki instance configured as a private wiki that serves the REST API.
- Attack vector: network, with no authentication and no user interaction.
- Impact: high confidentiality impact. An unauthenticated attacker can read content from private wikis. The advisory reports no integrity or availability impact.
- Affected code, per the CVE record:
includes/Rest/Handler.php,includes/Rest/Handler/ParsoidHandler.php,includes/Rest/Module/Module.php,includes/Rest/Validator/UnsupportedContentTypeBodyValidator.php.
Affected software
- MediaWiki 1.43.0 through 1.43.11
- MediaWiki 1.45.0 through 1.45.6
- MediaWiki 1.46.0 through 1.46.2
- MediaWiki 1.47 (all versions listed in the CVE record)
Severity
CVSS v4.0 base score 8.7 (High): CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N. The source record provides a CVSS v4.0 vector, not a v3.1 one.
Mitigation and recommended actions
- Immediate: upgrade to MediaWiki 1.43.12, 1.45.7 or 1.46.3 (or later), depending on your release branch.
- No workarounds were identified in the sources reviewed. Until you patch, consider restricting network access to the REST API endpoints of private wikis.
- Details are tracked in Wikimedia Phabricator task T445032.

