CVE-2025-34322: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Nagios Log Server
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.
AI Analysis
Technical Summary
CVE-2025-34322 is an authenticated OS command injection vulnerability in Nagios Log Server's 'Natural Language Queries' feature prior to version 2026R1.0.1. The issue occurs because user-controlled settings from the global configuration are concatenated into a shell command executed via shell_exec() without proper sanitization. An authenticated user with access to the 'Global Settings' page can supply crafted values to inject arbitrary shell commands, resulting in command execution as the 'www-data' user and potential compromise of the Log Server host.
Potential Impact
Successful exploitation allows an authenticated user with access to the 'Global Settings' page to execute arbitrary OS commands on the Log Server host with 'www-data' privileges. This can lead to compromise of the host system and potentially further escalation or lateral movement depending on environment configuration. The vulnerability has a high CVSS score of 8.6, indicating significant impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the 'Global Settings' page to trusted administrators only and consider disabling the experimental 'Natural Language Queries' feature if possible to reduce exposure.
CVE-2025-34322: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Nagios Log Server
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.
CVSS v4.0
Score 8.6high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-34322 is an authenticated OS command injection vulnerability in Nagios Log Server's 'Natural Language Queries' feature prior to version 2026R1.0.1. The issue occurs because user-controlled settings from the global configuration are concatenated into a shell command executed via shell_exec() without proper sanitization. An authenticated user with access to the 'Global Settings' page can supply crafted values to inject arbitrary shell commands, resulting in command execution as the 'www-data' user and potential compromise of the Log Server host.
Potential Impact
Successful exploitation allows an authenticated user with access to the 'Global Settings' page to execute arbitrary OS commands on the Log Server host with 'www-data' privileges. This can lead to compromise of the host system and potentially further escalation or lateral movement depending on environment configuration. The vulnerability has a high CVSS score of 8.6, indicating significant impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the 'Global Settings' page to trusted administrators only and consider disabling the experimental 'Natural Language Queries' feature if possible to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2025-04-15T19:15:22.585Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 691b68f8f84694138ddb8361
Added to database: 11/17/2025, 18:27:04 UTC
Last enriched: 05/14/2026, 02:01:23 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 216
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.