Description
Vulnerability in Wikimedia Foundation MediaWiki.

This vulnerability is associated with program files includes/Api/ApiChangeAuthenticationData.Php, includes/Api/ApiLinkAccount.Php, includes/Api/ApiRemoveAuthenticationData.Php, includes/Specials/SpecialLinkAccounts.Php, includes/Specials/SpecialUnlinkAccounts.Php.



This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
Published: 2026-07-01
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an authenticated user to invoke the action=changeauthenticationdata API endpoint on another user’s account in MediaWiki. This endpoint replaces the target account’s authentication data without performing the required authorization check, effectively giving the attacker full control over that account. The weakness is an authentication bypass consistent with CWE‑287, and the potential impact is direct impersonation of any user who can be targeted, granting the attacker every privilege the victim normally held. The attack vector is not explicitly documented but is inferred from an authenticated request to the vulnerable endpoint.

Affected Systems

The issue affects Wikimedia Foundation MediaWiki versions prior to 1.46.0, 1.45.4, 1.44.6, and 1.43.9. Any instance running a version older than these thresholds is vulnerable.

Risk and Exploitability

The CVSS score of 5.3 classifies the vulnerability as moderate severity, while the EPSS score of less than 1 % indicates a low likelihood of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog, so no widely known exploits exist yet. Exploitation requires the attacker to be authenticated to the MediaWiki instance, either through legitimate credentials or through compromised BotPasswords or OAuth tokens, and then to send a request to the vulnerable API endpoint. The likely attack vector is inferred to involve an attacker who has already authenticated, for example via compromised BotPasswords or OAuth tokens; precise details are not disclosed. Based on the description, the vulnerability appears to lack arbitrary code‑execution capabilities, limiting the attack to the API layer, but the effect remains a total takeover of the target account.

Generated by OpenCVE AI on July 21, 2026 at 14:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MediaWiki to version 1.46.0 or later, which removes the vulnerable API endpoints and restricts BotPasswords and OAuth usage for accounts that do not need them.
  • Restrict BotPasswords and OAuth for regular user accounts, limiting authentication methods to only those that are strictly necessary.
  • Limit the changeauthenticationdata, link, and unlink API actions to high‑privilege users and enforce strict authorization checks to prevent unauthorized execution.

Generated by OpenCVE AI on July 21, 2026 at 14:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6380-1 mediawiki security update
References
History

Wed, 01 Jul 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Wikimedia
Wikimedia mediawiki
Vendors & Products Wikimedia
Wikimedia mediawiki

Wed, 01 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description Vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Api/ApiChangeAuthenticationData.Php, includes/Api/ApiLinkAccount.Php, includes/Api/ApiRemoveAuthenticationData.Php, includes/Specials/SpecialLinkAccounts.Php, includes/Specials/SpecialUnlinkAccounts.Php. This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
Title Full Account Takeover from BotPasswords and OAuth via action=changeauthenticationdata
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Wikimedia Mediawiki
cve-icon MITRE

Status: PUBLISHED

Assigner: wikimedia-foundation

Published:

Updated: 2026-07-01T15:51:32.133Z

Reserved: 2026-06-27T13:32:37.577Z

Link: CVE-2026-58029

cve-icon Vulnrichment

Updated: 2026-07-01T15:51:25.352Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T14:15:04Z

Weaknesses