Description
Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. In versions 4.2.0 through 4.14.6, multiple active response scripts pass attacker-influenced alert fields to privileged system commands without validating their format, allowing argument injection into tools that run as root. Five of the eight scripts that handle the srcip field, route-null.c, netsh.c, pf.c, npf.c, and ipfw.c, omit the get_ip_version() check that rejects non-IP input, and disable-account.c passes the dstuser field to passwd/chuser with only a comparison against "root". An attacker who can inject crafted log events, for example via syslog, can supply srcip or dstuser values that, when an active response rule triggers, are passed unvalidated to firewall and account-management commands such as pfctl, npfctl, ipfw, route, netsh, and passwd. This enables injecting additional command arguments, and on Windows the unquoted CreateProcess command-line concatenation in wpopenv() lets a srcip containing spaces add further arguments, while disable-account.c can be abused to lock arbitrary system accounts. This issue is fixed in version 4.14.7.
Published: 2026-08-27
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Wazuh actively runs system‑level commands in response to alerts. In several active‑response scripts the input fields srcip and dstuser are passed directly to tools such as pfctl, npfctl, ipfw, route, netsh, and passwd without validation or proper quoting. Consequently an attacker who can inject crafted log events can supply arbitrary command arguments that are executed with root privileges. This allows the attacker to run arbitrary code, disable user accounts, or alter firewall rules, directly compromising confidentiality, integrity, and availability of the managed host.

Affected Systems

The vulnerability exists in the open‑source Wazuh platform, versions 4.2.0 through 4.14.6 inclusive. The affected scripts are route‑null.c, netsh.c, pf.c, npf.c, ipfw.c, and disable‑account.c. These scripts run on both Linux and Windows hosts and are invoked when an active‑response rule triggers. If your environment uses any of those scripts in a version of Wazuh within the affected range, it is vulnerable.

Risk and Exploitability

The CVSS score of 7.1 reflects a serious impact with moderate to high exploitation potential. The EPSS score is not available, but the attack requires only that an attacker can inject crafted events into Wazuh’s log inputs, such as a syslog source. Once injected, the malicious payload is executed immediately by a root‑privileged script. Because the vulnerability is not listed in the CISA KEV catalog, no publicly known exploit has yet been documented, yet the risk remains significant for environments exposed to untrusted log sources.

Generated by OpenCVE AI on August 28, 2026 at 06:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Wazuh version 4.14.7 or later to apply the fix that validates input in the affected scripts.
  • If an upgrade is not immediately possible, disable the active‑response scripts that handle srcip or dstuser (route‑null.c, netsh.c, pf.c, npf.c, ipfw.c, and disable‑account.c) or replace them with custom scripts that perform proper input validation and quoting.
  • Restrict syslog or other log ingestion sources to trusted hosts and apply network filtering to prevent malicious event injection.

Generated by OpenCVE AI on August 28, 2026 at 06:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 07:00:00 +0000

Type Values Removed Values Added
First Time appeared Wazuh
Wazuh wazuh
Vendors & Products Wazuh
Wazuh wazuh

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. In versions 4.2.0 through 4.14.6, multiple active response scripts pass attacker-influenced alert fields to privileged system commands without validating their format, allowing argument injection into tools that run as root. Five of the eight scripts that handle the srcip field, route-null.c, netsh.c, pf.c, npf.c, and ipfw.c, omit the get_ip_version() check that rejects non-IP input, and disable-account.c passes the dstuser field to passwd/chuser with only a comparison against "root". An attacker who can inject crafted log events, for example via syslog, can supply srcip or dstuser values that, when an active response rule triggers, are passed unvalidated to firewall and account-management commands such as pfctl, npfctl, ipfw, route, netsh, and passwd. This enables injecting additional command arguments, and on Windows the unquoted CreateProcess command-line concatenation in wpopenv() lets a srcip containing spaces add further arguments, while disable-account.c can be abused to lock arbitrary system accounts. This issue is fixed in version 4.14.7.
Title Wazuh: Missing input validation in multiple active response scripts allows argument injection
Weaknesses CWE-88
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-27T22:55:18.883Z

Reserved: 2026-06-11T18:44:47.761Z

Link: CVE-2026-54085

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T00:18:07.520

Modified: 2026-08-28T00:18:07.520

Link: CVE-2026-54085

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T06:45:04Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')