CVE-2025-15616 Wazuh Agent and Manager OS Command Injection and Untrusted Search Path
Attackers can execute arbitrary commands on Wazuh agents and managers via injection in configuration files, SMTP settings, or script parameters.
- 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-15616?
CVE-2025-15616 is a high-severity command injection vulnerability in Wazuh Wazuh, published on 27 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-94
Which versions are affected by CVE-2025-15616?
It affects 1 product.
Products include Wazuh Wazuh.
How do I fix CVE-2025-15616?
No fix has been published for CVE-2025-15616 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-15616 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15616 exists.
Other vulnerabilities in Wazuh Wazuh
- CVE-2025-24016 Wazuh Server Deserialization of Untrusted Data
- CVE-2024-32038 Wazuh Analysis Engine Event Decoder Heap-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2021-44079 Command injection in n/a
- CVE-2024-1243 Remote code execution and local privilege escalation in Wazuh Windows agent via NetNTLMv2 hash theft
- CVE-2026-61800 Wazuh cluster worker file sync allows arbitrary file write under /var/ossec (incomplete fix for CVE-2026-30893)
Sources
Also known as GHSA-522v-p59v-58gm, GHSA-7qjf-9w96-fxjq.