Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/PR:H) indicates network-accessible exploitation with low complexity but requires high-privilege credentials, significantly constraining the attack surface. While the vulnerability enables high integrity and availability impact (VI:H/VA:H), the prerequisite of administrative or high-privilege access reduces immediate risk for most deployment scenarios. No public exploit identified at time of analysis and no EPSS score provided in available data. The vulnerability affects core security infrastructure (Wazuh monitoring agents and managers), making successful exploitation highly impactful as it could disable security controls or pivot to monitored systems. Real-world risk is elevated in environments with compromised admin credentials, weak access controls to Wazuh management interfaces, or insider threat scenarios. Organizations using Wazuh should prioritize patching given the security-critical nature of the product, though the high privilege requirement provides partial mitigation against opportunistic attacks. |
| Exploit ScenarioDerived | An attacker who has compromised high-privilege credentials for a Wazuh manager (through phishing, credential reuse, or insider access) modifies the logcollector configuration file to inject shell commands using backticks or command substitution syntax. When the Wazuh agent or manager processes this malicious configuration, the injected commands execute with the privileges of the Wazuh process, allowing the attacker to establish persistence, exfiltrate security monitoring data, disable detection capabilities, or pivot to other systems monitored by the Wazuh deployment. Alternatively, the attacker manipulates maild SMTP server configuration tags with similar injection payloads that execute when email alerts are processed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
Multiple shell injection and untrusted search path vulnerabilities in Wazuh agent and manager (versions 2.1.0 through 4.7.x) enable remote code execution through malicious configuration parameters. Authenticated attackers with high privileges can inject commands via logcollector configuration files, maild SMTP server tags, and Kaspersky AR script parameters. The CVSS 4.0 score of 7.1 reflects network-accessible attack vector with low complexity but requiring high-privilege credentials; no public exploit identified at time of analysis.
RemediationAI
Upgrade Wazuh wazuh-agent and wazuh-manager to version 4.8.0 or later, which addresses all identified shell injection and untrusted search path vulnerabilities (see vendor advisory at https://github.com/wazuh/wazuh/security/advisories/GHSA-522v-p59v-58gm). Until patching is feasible, implement defense-in-depth controls including strict access control to Wazuh management interfaces with multi-factor authentication, audit logging of all configuration changes, input validation on configuration files before deployment, and network segmentation to isolate Wazuh infrastructure from untrusted networks. Review existing logcollector, maild, and Kaspersky AR configurations for suspicious command injection patterns or unexpected metacharacters. Organizations unable to immediately upgrade should restrict configuration modification privileges to a minimal set of trusted administrators and monitor for unauthorized configuration changes through file integrity monitoring.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wazuh is an open-source security monitoring platform deployed as agent-manager architecture for threat detection and compliance monitoring. The affected products are identified by CPE strings cpe:2.3:a:wazuh:wazuh-agent and cpe:2.3:a:wazuh:wazuh-manager. The vulnerability class is CWE-94 (Improper Control of Generation of Code), manifesting as shell injection flaws in multiple components: the logcollector module that processes log collection configuration, the maild daemon that handles SMTP server configuration for alerting, and the Kaspersky Active Response integration script. These components fail to properly sanitize user-supplied input before passing it to shell interpreters, allowing command metacharacters to break out of intended command contexts. The untrusted search path component suggests PATH environment manipulation may also be exploitable to load malicious executables.
Know when Wazuh Manager gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
Wazuh wazuh-agent and wazuh-manager versions 2.1.0 before 4.8.0 contain multiple shell injection and untrusted search path vulnerabilities that allow attackers to execute arbitrary commands through various components including logcollector configuration, maild SMTP server tags, and Kaspersky AR script parameters. Attackers can exploit these vulnerabilities by injecting malicious commands through configuration files, SMTP server settings, and custom flags to achieve remote code execution on affected systems.
Executive ViewAI
CVE-2025-15616 affects Wazuh security monitoring agents and managers versions 2.1.0 through 4.7.x, allowing authenticated high-privilege users to execute arbitrary commands through malicious configuration parameters in logcollector and mail settings. Organizations running vulnerable Wazuh deployments risk insider threats and privilege escalation attacks that could compromise endpoint monitoring and detection capabilities. Immediate inventory and patching of affected Wazuh infrastructure is required to maintain security posture.
Apply vendor patch. If patching cannot be completed within 7 days, restrict administrative access to Wazuh configuration files (logcollector configs, maild SMTP parameters, and AR scripts) to trusted personnel only; implement file integrity monitoring on these configuration paths; disable Kaspersky AR integration if not operationally required; review audit logs for unauthorized configuration changes by privileged accounts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wazuh Manager
View allArbitrary file overwrite in Wazuh Manager (3.9.0 through versions prior to 4.14.8) lets an attacker who already controls
Arbitrary file read as root in Wazuh Manager 4.1.0 through 4.14.7 allows an enrolled agent to inject an upgrade_custom m
Wazuh Manager 4.0.0 through 4.14.7 fails to consult its token revocation blacklist inside the check_token routine, so a
Wazuh Manager 4.14.3 through 4.14.7 and 4.10.4 allow an authenticated API user holding manager:update_config to escalate
An authentication bypass in the Wazuh Manager API (versions 4.6.0 through 4.14.7) lets an account that already holds del
Path traversal in the Wazuh Manager cluster upload handlers (upload_list_file, upload_rule_file, upload_decoder_file) le
Path traversal in Wazuh Manager 4.1.1 through 4.14.7 lets an attacker who has already compromised a cluster worker node
Heap buffer overflow in Wazuh Manager's File Integrity Monitoring alert generation lets an enrolled agent corrupt manage
CPU exhaustion in Wazuh Manager 4.0.0-4.14.6 and 5.0.0-beta2 allows authenticated API users with the allow_run_as permis
Wazuh Manager 4.0.0 through 4.14.7 exposes the plaintext authd.pass agent-enrollment password to authenticated low-privi
Path traversal in Wazuh Manager's delete_rule_file and delete_decoder_file helpers lets an attacker who holds the Wazuh
Path traversal via unsanitized cluster node names in Wazuh Manager 4.0.0 through 4.14.5 enables authenticated cluster pe
EUVD-2025-209103
GHSA-7qjf-9w96-fxjq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB