CVE-2026-41424
Received Received - Intake

Authentication Bypass in Wazuh API

Vulnerability report for CVE-2026-41424, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-19

Assigner: GitHub, Inc.

Description

Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.9.0 until 4.10.4 and 4.14.6, PUT /security/users/{user_id} in api/api/controllers/security_controller.py passes request.get("user") instead of request.context['token_info']['sub'] as current_user. remove_nones_to_dict() removes the resulting None value, so the reserved-account protection in framework/wazuh/security.py cannot verify who is making the request. An authenticated user with the users_admin role can overwrite the password of protected administrator accounts with user IDs at or below 99, including the wazuh superuser, and gain full administrative control. This issue is fixed in versions 4.10.4 and 4.14.6.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-19
Generated
2026-08-19
AI Q&A
2026-08-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 8 associated CPEs
Vendor Product Version / Range
wazuh wazuh to 4.10.4 (inc)
wazuh wazuh 4.10.4
wazuh wazuh 4.14.6
wazuh wazuh 4.9.0
wazuh wazuh 4.10.3
wazuh wazuh 4.11.0
wazuh wazuh 4.14.5
wazuh wazuh to 4.14.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-41424 is a privilege escalation flaw in Wazuh affecting versions 4.9.0 to 4.10.4 and 4.14.6. The vulnerability occurs in the PUT /security/users/{user_id} API endpoint where the code incorrectly uses request.get("user") instead of request.context['token_info']['sub'] to identify the authenticated user. This bypasses admin-protection logic, allowing users with the users_admin role to overwrite passwords of administrator accounts with user IDs at or below 99, including the superuser account.

Detection Guidance

Check Wazuh API logs for suspicious PUT requests to /security/users/{user_id} endpoints. Look for requests where the user context is missing or invalid. Verify if non-admin users with users_admin role attempted to modify admin accounts (user IDs ≀ 99).

Use Wazuh's framework logs to confirm if admin-protection errors (WazuhError 5011) are being triggered incorrectly. Compare API behavior against expected security controls.

Impact Analysis

An attacker with users_admin privileges could exploit this to change passwords of admin accounts, gaining full administrative control over the Wazuh deployment. This could lead to unauthorized access, data manipulation, or complete system compromise. The vulnerability allows bypassing intended security controls that prevent non-admin users from modifying admin accounts.

Compliance Impact

This vulnerability could lead to unauthorized access and data breaches, violating compliance requirements for access control and data protection in standards like GDPR and HIPAA. It undermines security controls designed to prevent privilege escalation and unauthorized modifications to critical system accounts.

Mitigation Strategies

Upgrade Wazuh to version 4.10.4 or 4.14.6 or later to apply the official fix. If upgrading is not immediately possible, restrict access to the PUT /security/users/{user_id} endpoint via network controls or API gateways.

Audit all admin accounts (user IDs ≀ 99) for unauthorized changes. Monitor for unexpected privilege escalations or modifications to superuser accounts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-41424. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart