CVE-2018-25122 Nagios XI < 5.4.13 Component Download Page RCE

High 8.7 Published Updated

Authenticated attackers can execute arbitrary code via unsafe command construction in the Component Download page of Nagios XI.

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

What is CVE-2018-25122?

CVE-2018-25122 is a high-severity command injection vulnerability in Nagios Nagios Xi, published on 30 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Nagios XI versions prior to 5.4.13 contain a remote code execution vulnerability in the Component Download page. The download/import handler used unsafe command construction with attacker-controlled input and lacked sufficient validation and output encoding, allowing an authenticated user to inject commands or otherwise execute arbitrary code with the privileges of the application service.

Weakness: CWE-78

Which versions are affected by CVE-2018-25122?

It affects 1 product.

Products include Nagios Nagios Xi.

How do I fix CVE-2018-25122?

No fix has been published for CVE-2018-25122 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-2018-25122 being exploited?

There is no known exploitation of CVE-2018-25122 in the wild and no public exploit code.

All Nagios Nagios Xi vulnerabilities

Sources

Also known as GHSA-89hr-pmwg-8fw2.

Is CVE-2018-25122 in your software?

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

Check your SBOMs for free