Runcommand
CVE-2025-51958
CRITICAL
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. |
| Impact | CVSS 9.8. DokuWiki installations with this plugin expose unauthenticated RCE. |
| Exploit ScenarioDerived | Attacker sends crafted request to the runcommand endpoint, executing arbitrary system commands. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
Unauthenticated command injection in DokuWiki runcommand plugin via lib/plugins/runcommand. Allows arbitrary system command execution.
Earlier versions of this analysis (1)
Command injection in DokuWiki runcommand plugin.
RemediationAI
Remove the runcommand plugin. It has not been updated since 2014.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-78 in runcommand plugin. Unauthenticated exploitation through the wiki's plugin interface.
Know when Runcommand 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
aelsantex runcommand 2014-04-01, a plugin for DokuWiki, allows unauthenticated attackers to execute arbitrary system commands via lib/plugins/runcommand/postaction.php.
Executive ViewAI
A critical remote code execution vulnerability in the DokuWiki runcommand plugin (CVE-2025-51958) allows unauthenticated attackers to execute arbitrary commands on affected systems. Any organization using this plugin is at immediate risk of complete system compromise, data breach, and operational disruption. Immediate action is required as no vendor patch is currently available.
Disable the runcommand plugin immediately if not critical to operations. Implement Web Application Firewall (WAF) rules to block all requests to lib/plugins/runcommand/postaction.php. Restrict network access to DokuWiki instances using IP whitelisting. Segregate DokuWiki servers onto isolated network segments with minimal lateral movement paths. Monitor for suspicious command execution patterns in system logs. Implement strong input validation and consider reverse proxy authentication layer until patch is available.
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.
NVD
CVE.org
EPSS
GitHub
Exploit-DB