CVE-2025-15616 Wazuh Agent and Manager OS Command Injection and Untrusted Search Path

High 7.1 Published Updated

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.

All Wazuh Wazuh vulnerabilities

Sources

Also known as GHSA-522v-p59v-58gm, GHSA-7qjf-9w96-fxjq.

Is CVE-2025-15616 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free