Skip to content
Tuesday, October 13, 2026AboutContactRSS
Vulnerabilities

Critical Wazuh Flaw Lets Authenticated Users Run Root Commands via Config Bypass

A case-sensitivity mismatch in Wazuh 4.14.3 through 4.14.7 allows authenticated attackers to execute commands as root on the collector.

Updated with new details.
Illustration: A sleek black security appliance sits on a clean white desk.
AI-generated illustration: Threat Times

Key points

  • CVE-2026-74041 is rated Critical with a CVSS score of 9.4.
  • The flaw affects Wazuh manager versions prior to 4.14.8.
  • Attackers need the manager:update_config permission to exploit the issue.

Wazuh manager versions before 4.14.8 contain a critical vulnerability that allows authenticated users to bypass remote-command validation. The flaw stems from a case-sensitivity mismatch between the configuration validator and the log collector component.

At a glance

CVE
CVE-2026-74041
Product
wazuh-manager
CVSS
9.4 Critical
Weakness
CWE-178
Exploited
No known exploitation

The National Vulnerability Database records this issue as CVE-2026-74041 with a CVSS score of 9.4, rating it as Critical. The weakness is classified under CWE-178. The description notes a case-sensitivity mismatch between the ossec.conf validator and wazuh-logcollector that bypasses remote-command validation.

Technical Details of the Vulnerability

The vulnerability arises because the ossec.conf validator and wazuh-logcollector handle character casing differently. An authenticated user who possesses the manager:update_config permission can inject a specific command into the configuration. By using an uppercase LOG_FORMAT command within a localfile directive, the attacker can bypass the validation checks.

According to the NVD record, when the configuration is reloaded, the wazuh-logcollector processes this injected command. Because the collector runs with root privileges, the injected command executes as root. This allows an attacker to run commands as root on the system via the collector.

Affected Systems and Scope

Only Wazuh manager instances running versions prior to 4.14.8 are affected by this vulnerability. The issue is specific to the interaction between the configuration validator and the log collector within these older versions. Users running version 4.14.8 or later are not impacted by this specific case-sensitivity mismatch.

The exploitation requires an attacker to already have an authenticated session with specific permissions. The attacker must hold the manager:update_config capability to modify the configuration files. This limits the initial attack surface to users or services that have legitimate administrative access to the Wazuh manager interface.

What should you do?

Security teams should immediately inventory their Wazuh deployments to identify any managers running versions older than 4.14.8. Since the source identifies versions before 4.14.8 as affected, upgrading to 4.14.8 or later resolves the issue. Administrators should also review access logs for any unauthorized configuration changes.

What to do and how to stay safe: Wazuh

  • Audit all Wazuh manager instances to confirm they are running version 4.14.8 or newer.
  • Restrict the manager:update_config permission to only essential administrative accounts.
  • Monitor configuration files for unexpected changes, especially those involving LOG_FORMAT directives.
  • Isolate affected Wazuh managers from external networks if upgrading is not immediately possible.

Step-by-step guide: Risk Based Vulnerability Management: Prioritize Fixes by Actual Threat

General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.

Frequently asked questions

What is the CVE ID for this Wazuh vulnerability?

The CVE ID is CVE-2026-74041.

What permissions are needed to exploit this flaw?

An attacker needs an authenticated account with the manager:update_config permission.

Which Wazuh versions are vulnerable?

Wazuh manager versions before 4.14.8 are affected.

Sources

  1. CVE Program
Related articles