Wikimedia Foundation MediaWiki
Remote Code Execution via Unsafe Deserialization in LogItem Import
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.46.0, 1.45.4, 1.44.6, 1.43.9
Fixed in 1.46.0, 1.45.4, 1.44.6, 1.43.9
Mitigation
Upgrade MediaWiki to 1.46.0, 1.45.4, 1.44.6, 1.43.9 or later.
Timeline
Days relative to CVE publicationFirst public PoC 28 days after publication; not in CISA KEV. First PoC: shinthink/CVE-2026-58025 (created 29 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| shinthink/CVE-2026-58025 | 29 Jul 2026 +28 d | 5 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /api.php
- Query
action=querymeta=siteinfoformat=json- PoC User-Agent
Mozilla/5.0- Seen in
- 1 repo: shinthink/CVE-2026-58025
- Evidence
- shinthink/CVE-2026-58025/exploit.py:194
GET /wiki/Special:Import
- PoC User-Agent
Mozilla/5.0- Seen in
- 1 repo: shinthink/CVE-2026-58025
- Evidence
- shinthink/CVE-2026-58025/exploit.py:178
POST /wiki/Special:Import
- PoC User-Agent
Mozilla/5.0- Seen in
- 1 repo: shinthink/CVE-2026-58025
- Evidence
- shinthink/CVE-2026-58025/exploit.py:258
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api\.php\?(?:.*&)?action=query.*meta=siteinfo.*format=json
(?i)^/wiki/Special:Import(?:[?#].*)?$
(?i)^/wiki/Special:Import(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-58025 Wikimedia Foundation MediaWiki exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api.php"; http.uri; content:"action=query"; http.uri; content:"meta=siteinfo"; http.uri; content:"format=json"; reference:url,poc.griffinguard.io/cve/CVE-2026-58025; classtype:web-application-attack; sid:9166296; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-58025 Wikimedia Foundation MediaWiki exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wiki/Special:Import"; reference:url,poc.griffinguard.io/cve/CVE-2026-58025; classtype:web-application-attack; sid:9634141; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-58025 Wikimedia Foundation MediaWiki exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wiki/Special:Import"; reference:url,poc.griffinguard.io/cve/CVE-2026-58025; classtype:web-application-attack; sid:9119293; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Wikimedia Foundation MediaWiki exploit attempt (CVE-2026-58025)
id: gg-pocmon-cve-2026-58025-9166296
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-58025. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-58025
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api.php'
cs-uri-query|contains|all:
- 'action=query'
- 'meta=siteinfo'
- 'format=json'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.58025
title: Wikimedia Foundation MediaWiki exploit attempt (CVE-2026-58025)
id: gg-pocmon-cve-2026-58025-9634141
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-58025. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-58025
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wiki/Special:Import'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.58025
title: Wikimedia Foundation MediaWiki exploit attempt (CVE-2026-58025)
id: gg-pocmon-cve-2026-58025-9119293
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-58025. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-58025
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wiki/Special:Import'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.58025