# CVE-2025-34322: Nagios Log Server \< 2026R1.0.1 Authenticated Command Injection via Natural Language Queries

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 10.90% (percentile 97, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2025-11-17T17:48:04.503Z
- **Modified:** 2026-10-07T21:10:00.200Z

## Who should check

- Anyone running Nagios Log Server \< 2026R1.0.1

## Description

Nagios Log Server versions prior to 2026R1.0.1 contain an authenticated command injection vulnerability in the experimental 'Natural Language Queries' feature. When this feature is configured, certain user-controlled settings—including model selection and connection parameters—are read from the global configuration and concatenated into a shell command that is executed via shell\_exec() without proper input handling or command-line argument sanitation. An authenticated user with access to the 'Global Settings' page can supply crafted values in these fields to inject additional shell commands, resulting in arbitrary command execution as the 'www-data' user and compromise of the Log Server host.

## Affected and fixed versions

- Nagios Log Server: \< 2026R1.0.1 (cvelist)

## Mitigation

- Upgrade Log Server to 2026R1.0.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-34322. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-34322.md
Affected: Nagios Log Server < 2026R1.0.1
Fixed in: Nagios Log Server 2026R1.0.1

Steps:
1. Search this machine and project for Nagios Log Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-34322 being exploited?

There is no confirmed exploitation: CVE-2025-34322 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 10.90% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-34322?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-34322?

Nagios Log Server \< 2026R1.0.1.

### Is there a fix for CVE-2025-34322?

Yes. Fixed in Nagios Log Server 2026R1.0.1. Upgrade Log Server to 2026R1.0.1 or later.

### How do I check if I'm affected by CVE-2025-34322?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://www.nagios.com/products/security/#log-server>
- patch: <https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/>
- exploit: <https://theyhack.me/Rooting-Nagios-Log-Server/>
- other: <https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-34322>

HTML: <https://flawdb.com/CVE-2025-34322> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-34322>
