CVE-2026-58025 Remote Code Execution via Unsafe Deserialization in LogItem Import
Remote attackers can execute arbitrary code via unsafe deserialization in MediaWiki's LogItem import functionality.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-58025?
CVE-2026-58025 is a medium-severity unsafe deserialization vulnerability in Mediawiki Mediawiki, published on 1 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-58025?
It affects 1 product.
Products include Mediawiki Mediawiki.
How do I fix CVE-2026-58025?
Upgrade to a fixed version.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2026-58025 being exploited?
There is no known exploitation of CVE-2026-58025 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as DEBIAN-CVE-2026-58025, GHSA-28rr-rpqp-g8c8, MINI-8frw-qcqf-2g37, MINI-hcc4-2j3h-985c, MINI-r8pv-8gq3-7frg, UBUNTU-CVE-2026-58025.