CVE-2025-15616

Wazuh Agent and Manager OS Command Injection and Untrusted Search Path

Published Mar 27, 2026 CVSS 4.0 · 7.1 High EPSS 1.7% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows shell injection and the use of an untrusted search path across multiple components of the Wazuh Agent and Manager; attackers can inject malicious shell commands into logcollector configuration files, maild SMTP server tags, and Kaspersky AR script parameters to execute arbitrary commands.

Affected Systems

Affected products are Wazuh wazuh-agent and Wazuh wazuh-manager; all releases from version 2.1.0 up to, but not including, 4.8.0 are vulnerable.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, and the EPSS score of 2% suggests a low probability of widespread exploitation; the vulnerability is not listed in CISA's KEV catalog. The description shows that attackers can inject them through configuration files, SMTP server settings, or custom flags, meaning that write access to these configuration areas or the ability to alter them is required; it is inferred that such access is needed to exploit the vulnerability. Once injected, the malicious code would run with the privileges of the running service, potentially compromising the entire system. The vulnerability is a type of CWE-94.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patch for wazuh-agent and wazuh-manager version 4.8.0 or later
  • Refer to the vendor advisories for any additional fixes
  • Restrict write access to logcollector configuration files and SMTP tag settings to trusted administrators
  • Disable or sanitize the Kaspersky AR script parameters to prevent arbitrary shell execution
  • Ensure that the system’s search path is explicitly set and does not rely on user-provided values
  • Monitor system logs for indicators of attempted command injection or abnormal shell activity

Generated by OpenCVE AI on June 18, 2026 at 04:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wazuh wazuh
CPEs cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
Vendors & Products Wazuh wazuh
Type Values Removed Values Added
First Time appeared Wazuh
Wazuh wazuh-agent
Wazuh wazuh-manager
Vendors & Products Wazuh
Wazuh wazuh-agent
Wazuh wazuh-manager
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Multiple vulnerabilities related to shell injection and path traversal flaws Wazuh Agent and Manager OS Command Injection and Untrusted Search Path
Type Values Removed Values Added
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.
Title Multiple vulnerabilities related to shell injection and path traversal flaws
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H'}

cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:00 PM
Reserved
Mar 27, 2026, 4:25 PM
Status
Analyzed
Published
Mar 27, 2026, 5:16 PM
Modified
Oct 14, 2026, 5:10 PM