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.
Fix
Patch, vendor advisory and mitigation references on NVD 6
- https://github.com/wazuh/wazuh/commit/1a38d11574c6d35a4272e1e7145d55d293e7dda4 Patch
- https://github.com/wazuh/wazuh/commit/813add3575ecd4df484b2326715ca78f65505b4e Patch
- https://github.com/wazuh/wazuh/pull/35442 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/pull/35469 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/security/advisories/GHSA-gj9h-8hmr-xjjr Exploit, Vendor Advisory
- https://github.com/wazuh/wazuh/security/advisories/GHSA-gj9h-8hmr-xjjr Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.2 · wazuhNVD modified 2026-10-26 11:10
Affected (CPE criteria) 1
cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
References 8
- https://github.com/wazuh/wazuh/commit/1a38d11574c6d35a4272e1e7145d55d293e7dda4 Patch
- https://github.com/wazuh/wazuh/commit/813add3575ecd4df484b2326715ca78f65505b4e Patch
- https://github.com/wazuh/wazuh/pull/35442 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/pull/35469 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/releases/tag/v4.10.4 Release Notes
- https://github.com/wazuh/wazuh/releases/tag/v4.14.6 Release Notes
- https://github.com/wazuh/wazuh/security/advisories/GHSA-gj9h-8hmr-xjjr Exploit, Vendor Advisory
- https://github.com/wazuh/wazuh/security/advisories/GHSA-gj9h-8hmr-xjjr Exploit, Vendor Advisory