CVE-2025-34227 Nagios XI < 2026R1 Configuration Wizard Authenticated Command Injection

High 8.6 Published Updated

Authenticated attackers can inject shell commands into database wizards to execute arbitrary code on the host as the nagios user.

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

What is CVE-2025-34227?

CVE-2025-34227 is a high-severity command injection vulnerability in Nagios Nagios Xi, published on 25 Sep 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Nagios XI < 2026R1 is vulnerable to an authenticated command injection vulnerability within the MongoDB Database, MySQL Query, MySQL Server, Postgres Server, and Postgres Query wizards. It is possible to inject shell characters into arguments provided to the service and execute arbitrary system commands on the underlying host as the `nagios` user.

Weakness: CWE-78

Which versions are affected by CVE-2025-34227?

It affects 1 product.

Products include Nagios Nagios Xi.

How do I fix CVE-2025-34227?

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Nagios Nagios Xi vulnerabilities

Sources

Also known as GHSA-3ghq-rfpw-jhqx.

Is CVE-2025-34227 in your software?

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

Check your SBOMs for free