CVE-2025-51958 Command injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary system commands via the runcommand plugin for DokuWiki.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-51958?

CVE-2025-51958 is a critical command injection vulnerability in n/a, published on 30 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

aelsantex runcommand 2014-04-01, a plugin for DokuWiki, allows unauthenticated attackers to execute arbitrary system commands via lib/plugins/runcommand/postaction.php.

Weakness: CWE-78

Which versions are affected by CVE-2025-51958?

It affects 1 product.

Products include Aelsantex Runcommand.

How do I fix CVE-2025-51958?

No fix has been published for CVE-2025-51958 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-51958 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51958 exists.

Sources

Also known as GHSA-5xxr-8rpp-gr43.

Is CVE-2025-51958 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free