CVE-2018-25123 Nagios XI < 5.5.7 Privilege Escalation via MRTG Graphing Component

High 8.5 Published Updated

A local attacker can exploit excessive privileges in the MRTG component to gain elevated system access on Nagios XI servers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-25123?

CVE-2018-25123 is a high-severity vulnerability in Nagios Nagios Xi, published on 30 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Nagios XI versions prior to 5.5.7 contain a privilege escalation vulnerability in the MRTG graphing component. MRTG-related processes/scripts executed with excessive privileges, allowing a local attacker with limited system access to abuse file/command execution paths or writable resources to gain elevated privileges.

Weakness: CWE-250

Which versions are affected by CVE-2018-25123?

It affects 1 product.

Products include Nagios Nagios Xi.

How do I fix CVE-2018-25123?

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

Is CVE-2018-25123 being exploited?

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

All Nagios Nagios Xi vulnerabilities

Sources

Also known as GHSA-cg42-mqc9-9fhp.

Is CVE-2018-25123 in your software?

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

Check your SBOMs for free