---
id: CVE-2025-15616
title: >-
  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
  logcollect…
summary: >-
  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
  logcollect…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H'
cwe:
  - CWE-94
vendor: wazuh
product: wazuh
affected:
  - 'wazuh >= 2.1.0, < 4.8.0'
patched:
  - wazuh 4.8.0
published: '2026-03-27'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T17:10:00.210'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-15616'
references:
  - url: 'https://github.com/wazuh/wazuh/security/advisories/GHSA-522v-p59v-58gm'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/multiple-vulnerabilities-related-to-shell-injection-and-path-traversal-flaws
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.01625
epssPercentile: 0.7567
ingestedAt: '2026-10-14T17:44:53.608Z'
---

## Overview

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.

## Affected

- `wazuh >= 2.1.0, < 4.8.0`

## Remediation

Upgrade past the affected range:

- `wazuh 4.8.0`
