Authentication bypass in Wazuh wazuh-manager enables reserved superuser takeover

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-74035?

CVE-2026-74035 is a vulnerability classified as Incorrect Authorization, affecting wazuh-manager (affected versions: 4.6.0 – < 4.14.8). This vulnerability is rated High, with a CVSS score of 8.6. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Wazuh versions from 4.6.0 before 4.14.8 contain an authentication bypass vulnerability where security.update_user places the reserved user guard and password policy inside a falsy truthiness check. A delegated user administrator can send an empty password to the user update endpoint, bypassing the reserved user guard to take over the wazuh superuser account and authenticate with empty credentials.

Affected products and scope

  • wazuh-manager: affected from 4.6.0 through versions less than 4.14.8.
  • wazuh-manager 4.14.8: explicitly marked unaffected in the record; the release notes also identify the fix for missing password validation on empty passwords in the user-update API.
  • The status of releases after 4.14.8 or of parallel release branches is not established separately by the affected data. Do not infer that every unverified branch is safe.

Technical details

Wazuh wazuh-manager places password length checks, password complexity checks, and the reserved-user guard inside the if password: condition in security.update_user. In Python, an empty string is falsy, so an empty password skips all three checks while still reaching AuthenticationManager.update_user. The ORM update path checks only whether password is not None, hashes the empty value, and the authentication check accepts it, allowing the reserved account to authenticate with empty credentials. The API contract and request-processing path described by the advisory do not reject the empty string before it reaches the framework. Exploitation requires a network-reachable user-update API and an authenticated account whose RBAC permissions include updating a reserved user, such as the shipped delegated administrator role or an equivalent custom role. The vulnerable control flow and storage behavior are documented, but each deployment must be checked to confirm its actual role assignments and whether an account was modified.

Exploitability

  • Reachability: The flaw is exploitable through the network-facing user-update API.
  • Prerequisites: The attacker must already be authenticated as an account authorized to update a reserved user. The advisory identifies users_admin and custom roles with equivalent permissions as relevant configurations.
  • Complexity: No interaction from another user, race condition, special timing, malformed input, or unusual client is required; the attack uses an ordinary API request with an empty password.
  • Known status: The supplied record does not identify a known exploitation campaign or public exploit. This describes the available evidence and does not prove that no system has been exploited.

Technical impact

The flaw creates a vertical privilege-escalation path from a user-management account to a reserved superuser account. After the reserved account's password is changed to an empty value, the attacker can authenticate as that superuser and obtain the complete administrator permission set. This can enable manager configuration changes, agent management, and access to sensitive administrative components such as the cluster key. The same flaw weakens password policy for other accounts updated through the affected path. Actual exposure depends on whether the attacking account has security:update over a reserved user and whether the API is reachable from the attacker's network position.

Business impact

  • Privilege escalation: A delegated user administrator can gain access to the built-in superuser account.
  • Loss of administrative control: The compromised account can receive the full administrator policy and may then manage agents, change manager configuration, and access the cluster key.
  • Password-policy bypass: Other password updates can also accept an empty password, leaving updated accounts able to authenticate with empty credentials.
  • Configuration-dependent exposure: Direct impact depends on API reachability and the attacker's RBAC rights; an account without user-update permission cannot reach the vulnerable operation through normal authorization.

Remediation

  1. Upgrade wazuh-manager to 4.14.8, the release identified as containing the fix.
  2. If an upgrade is not immediately possible, apply the vendor-advisory code guidance: replace the truthiness test with password is not None or make validation unconditional, and reject empty passwords in both the ORM and authentication layers.
  3. Add a reserved-user check to AuthenticationManager.update_user so protection does not depend only on a framework-level branch.
  4. Strengthen the API contract with appropriate minLength and maxLength constraints for password fields, and ensure password format validation is actually enforced.
  5. Review reserved accounts and suspicious password changes. If an account may have been written with an empty password, reset its credentials and invalidate affected sessions or tokens according to operational procedures.
  6. The record provides no separate vendor-supported workaround; upgrading to 4.14.8 is the confirmed remediation.

Detection

  • Inventory every Wazuh deployment and compare its installed wazuh-manager version with the affected range.
  • Review RBAC grants for security:update over reserved accounts, especially the users_admin role and custom roles with security_all.
  • Review API audit records for updates to reserved accounts, unusual successful logins for wazuh or wazuh-wui, and password changes that could correspond to empty credentials.
  • If a reserved account may have been modified, verify its current privileges, reset its credentials, and handle active sessions or tokens according to the deployment's incident response procedures.
  • The advisory does not identify a specific IOC or log signature. The absence of a matching event does not prove that the system is safe.
Sources (8)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.