CVE-2026-41424

Wazuh: Privilege Escalation via Admin-Protection Bypass in update-user API Endpoint

State
Published
Severity
8.2 High
Published
Aug 19, 2026
Updated
Aug 21, 2026
Reserved
Apr 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
wazuhwazuh
  • >=4.9.0, < 4.10.4Affected
  • >= 4.11.0, < 4.14.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.