Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach wiki with ExternalData enabled
-
DeliveryCraft input with shell metacharacters
-
ExploitInject into configured external command
-
ExecutionOS command executes on server
-
ImpactFull host compromise (RCE)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the target wiki to run the MediaWiki ExternalData extension at a version before 3.7 AND to have a command/program-executing external data source configured (the extension's feature that invokes local programs, e.g. via $wgExternalDataSources). The attacker must be able to supply input that flows into that command - typically through wiki markup/parser functions that pass parameters to the external program. Limiting factors: ExternalData is an optional extension not present on default MediaWiki installs, and the exec data-source capability must be explicitly enabled by an operator; on wikis that restrict page editing, invocation may also require edit privileges, narrowing the PR:N claim. Where these conditions hold, exploitation is remote and low-complexity. |
| Impact | The vendor-supplied CVSS 4.0 vector scores this a perfect 10.0 (AV:N/AC:L/AT:N/PR:N/UI:N with VC:H/VI:H/VA:H and subsequent-system SC:H/SI:H/SA:H), which describes an unauthenticated, network-reachable, low-complexity OS command injection yielding full compromise of the host beyond the application boundary - the maximum-severity profile for CWE-78. That top-line score should be tempered against real-world signals: there is no EPSS probability, no CISA KEV listing, and no public POC referenced, so exploitation is currently theoretical rather than observed. A vendor patch (Gerrit 1326012, tracked in Phabricator T434961) is confirmed available, which is the single most actionable fact. Note a tension in the PR:N claim: the ExternalData extension only executes local programs when an operator has configured the exec/program data-source feature ($wgExternalDataSources), so real-world reachability is gated on that non-default configuration and, on many wikis, on the ability to invoke it via editable wiki markup - meaning the effective exploit population is narrower than a raw 10.0 implies. Verdict: genuinely high-impact and worth prompt patching where ExternalData is installed, but the absence of exploitation evidence plus the configuration gate makes it a high-priority-patch rather than a confirmed emergency. |
| Exploit ScenarioDerived | A remote attacker reaches a MediaWiki instance running the ExternalData extension (before 3.7) with a program/command data source configured, and supplies crafted input containing shell metacharacters that is passed unneutralized into an OS command. The command executes on the web server, giving arbitrary code execution as the web-server user and, per the CVSS subsequent-system metrics, full host compromise. No public exploit identified at time of analysis, and no CISA KEV or EPSS data is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
OS command injection in the MediaWiki ExternalData extension before version 3.7 allows remote attackers to execute arbitrary operating-system commands on the wiki server. The flaw is reachable over the network with no authentication required per the CVSS vector (PR:N) and low attack complexity, and because the injected command runs in the web server's process context, the vendor's CVSS 4.0 score and our independent re-score both rate it at the maximum severity (10.0), extending impact to subsequent systems (S:C/C:H/I:H/A:H). Exploitation is conditional: the wiki must actually have ExternalData installed (it is an optional extension) and must have a program/command-executing external data source explicitly configured, and invocation may require page-edit rights on wikis that restrict editing; no public exploit code has been identified at time of analysis, but a vendor patch is available in ExternalData 3.7.
RemediationAI
Upgrade the ExternalData extension to version 3.7 or later (vendor-released patch: ExternalData 3.7); the fix commit is reviewable at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ExternalData/+/1326012 and the issue is tracked at https://phabricator.wikimedia.org/T434961. If you cannot update immediately, the highest-value compensating control is to remove or disable command/program-executing external data sources from $wgExternalDataSources - deleting the program-type entries eliminates the vulnerable code path entirely, at the cost of breaking any wiki content that depends on those sources; as a stronger fallback, disable the ExternalData extension altogether on wikis that do not need it. Where legitimately needed, restrict who can trigger the parser functions by tightening edit/create permissions (e.g. limiting the affected namespaces to trusted groups) and by running the data-source parameters through strict allow-listing rather than free-form wiki input, though this narrows rather than removes the risk. Additionally, reduce blast radius by running the web server/PHP-FPM and any helper processes under a low-privilege account with no shell access and constrained filesystem permissions, since an injected command executes with that account's rights. Note that restricting page editing mitigates the unauthenticated PR:N profile but does not patch the underlying injection.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). MediaWiki's ExternalData extension lets editors pull external content into wiki pages through parser functions such as #get_external_data, #external_value, and #for_external_table, using data sources defined by the site operator in $wgExternalDataSources. One supported source type is a local program/command that the extension shells out to and whose stdout is parsed back into the page. Versions before 3.7 failed to properly neutralize shell metacharacters in data that flows from wiki markup/user-supplied parameters into that command line, so an attacker who can reach the parser function can append or inject commands that are executed by the web server's shell. The affected component is the ExternalData extension itself (EPV/EUVD record EUVD-2026-87348 lists "Mediawiki - ExternalData Extension * <3.7"); the CPE-equivalent affected set is any ExternalData release prior to 3.7 specifically, not MediaWiki core. Because the extension is optional and the program-based data source is off by default, the vulnerable code path only exists where an operator has deliberately enabled command-executing data sources.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable low-complexity command injection escaping the app to OS gives S:C and C/I/A:H; PR:N follows the vendor vector though real reachability is gated on the exec feature being configured.
Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).
CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
Lifecycle Timeline
2DescriptionCVE.org
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Wikimedia Foundation Mediawiki - ExternalData Extension allows OS Command Injection.
This issue affects Mediawiki - ExternalData Extension: from * before 3.7.
Articles & Coverage 1
Technical POC Analysis
Bug class: CWE-78, OS Command Injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
The MediaWiki ExternalData extension, used by organizations to pull dynamic content onto internal or public wikis, contains a maximum-severity OS command injection flaw affecting all versions before 3.7. Wiki servers with ExternalData installed and a command-executing data source configured may allow an unauthenticated network attacker to run arbitrary operating-system commands, extending impact to connected backend systems and enabling full compromise of confidentiality, integrity, and availability. Leadership should care because a successful attack could hand an intruder a foothold on wiki infrastructure that often bridges internal networks, document repositories, and identity systems.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-87348
GHSA-vwh3-jq98-4w28
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB