8.6
HIGH CVSS 4.0
CVE-2025-34322
Nagios Log Server < 2026R1.0.1 Authenticated Command Injection via Natural Language Queries
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.

INFO

Published Date :

Nov. 17, 2025, 6:15 p.m.

Last Modified :

Nov. 26, 2025, 3:15 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-34322 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nagios log_server
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 HIGH 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 4.0 HIGH [email protected]
Solution
Update Nagios Log Server to patch command injection via Natural Language Queries feature.
  • Update Nagios Log Server to version 2026R1.0.1 or later.
  • Disable the 'Natural Language Queries' feature if updates are not possible.
Public PoC/Exploit Available at Github

CVE-2025-34322 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-34322.

URL Resource
https://theyhack.me/Rooting-Nagios-Log-Server/
https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/ Release Notes
https://www.nagios.com/products/security/#log-server Vendor Advisory
https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-34322 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Proof of Concept exploits for CVE-2025-34322 and CVE-2025-34323 in Nagios Log Server

Python

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Nov. 25, 2025, 9:22 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-34322 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-34322 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Nov. 26, 2025

    Action Type Old Value New Value
    Added Reference https://theyhack.me/Rooting-Nagios-Log-Server/
  • CVE Modified by [email protected]

    Nov. 24, 2025

    Action Type Old Value New Value
    Changed Description Nagios Log Server versions prior to 2026R1.0.1 contain an authenticated command injection vulnerability via the experimental 'Natural Language Queries' feature. Configuration values for this feature are read from the application settings and incorporated into a system command without adequate validation or restriction of special characters. An authenticated user with access to global configuration can abuse these settings to execute arbitrary operating system commands with the privileges of the web server account, leading to compromise of the Log Server host. 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.
  • Initial Analysis by [email protected]

    Nov. 20, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:nagios:log_server:*:*:*:*:*:*:*:* versions up to (excluding) 2026 *cpe:2.3:a:nagios:log_server:2026:r1:*:*:*:*:*:*
    Added Reference Type VulnCheck: https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/ Types: Release Notes
    Added Reference Type VulnCheck: https://www.nagios.com/products/security/#log-server Types: Vendor Advisory
    Added Reference Type VulnCheck: https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries Types: Third Party Advisory
  • New CVE Received by [email protected]

    Nov. 17, 2025

    Action Type Old Value New Value
    Added Description Nagios Log Server versions prior to 2026R1.0.1 contain an authenticated command injection vulnerability via the experimental 'Natural Language Queries' feature. Configuration values for this feature are read from the application settings and incorporated into a system command without adequate validation or restriction of special characters. An authenticated user with access to global configuration can abuse these settings to execute arbitrary operating system commands with the privileges of the web server account, leading to compromise of the Log Server host.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-78
    Added Reference https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/
    Added Reference https://www.nagios.com/products/security/#log-server
    Added Reference https://www.vulncheck.com/advisories/nagios-log-server-authenticated-command-injection-via-natural-language-queries
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.6
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.2
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact