Description
Deserialization of untrusted data vulnerability in Wikimedia Foundation MediaWiki.

This vulnerability is associated with program files includes/Import/WikiImporter.Php, includes/Import/WikiRevision.Php, includes/Logging/LogEntryBase.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.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker can exploit an unsafe deserialization routine in MediaWiki’s WikiImporter and log entry components, allowing execution of arbitrary PHP code. The flaw is a classic “deserialize untrusted data” weakness (CWE-502) that can also lead to evaluation of malicious code (CWE-94).

Affected Systems

All MediaWiki installations from the Wikimedia Foundation that are older than release 1.46.0 – specifically the 1.45.4, 1.44.6, and 1.43.9 releases – are affected. The vulnerability resides in includes/Import/WikiImporter.php, includes/Import/WikiRevision.php, and includes/Logging/LogEntryBase.php.

Risk and Exploitability

With a CVSS score of 5.9 the vulnerability is considered moderate severity, and the EPSS score of <1% indicates a very low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog, suggesting it is either low or emerging. Based on the description, it is inferred that an attacker would need to supply a crafted import payload that is deserialized by the system, typically requiring unauthorized write access to an import or log entry endpoint. No publicly documented exploits are known, but the inherent RCE nature makes it a high‑value target once the import path can be accessed.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MediaWiki to version 1.46.0 or newer, which contains the deserialization fix.
  • If upgrading is not yet possible, limit the import interface only from internal networks.
  • Disable Importer and LogEntryBase components until a patch is available, preventing deserialization of external data.

Generated by OpenCVE AI on July 21, 2026 at 14:04 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

Mon, 06 Jul 2026 23:15:00 +0000

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

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

Type Values Removed Values Added
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 Deserialization of untrusted data vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Import/WikiImporter.Php, includes/Import/WikiRevision.Php, includes/Logging/LogEntryBase.Php. This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
Title Remote Code Execution via Unsafe Deserialization in LogItem Import
Weaknesses CWE-502
CWE-94
References
Metrics cvssV4_0

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


Subscriptions

Wikimedia Mediawiki
cve-icon MITRE

Status: PUBLISHED

Assigner: wikimedia-foundation

Published:

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

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

Link: CVE-2026-58025

cve-icon Vulnrichment

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

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')