8.2high
Wazuh: Privilege Escalation via Admin-Protection Bypass in update-user API Endpoint
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wazuh wazuh | >=4.9.0, < 4.10.4, >= 4.11.0, < 4.14.6, from 4.9.0 before 4.10.4, from 4.11.0 before 4.14.6 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Desde 4.9.0 hasta 4.10.4 y 4.14.6, PUT /security/users/{user_id} en api/api/controllers/security_controller.py pasa request.get(’user’) en lugar de request.context[’token_info’][’sub’] como current_user. remove_nones_to_dict() elimina el valor None resultante, por lo que la protección de cuentas reservadas en framework/wazuh/security.py no puede verificar quién está realizando la solicitud. Un usuario autenticado con el rol users_admin puede sobrescribir la contraseña de cuentas de administrador protegidas con ID de usuario iguales o inferiores a 99, incluyendo el superusuario de wazuh, y obtener control administrativo total. Este problema está solucionado en las versiones 4.10.4 y 4.14.6.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-41424 changed 2026-08-21 | CVE Terms of Use |
| NVD | CVE-2026-41424 changed 2026-10-26 | Public domain |