CVE-2026-25771

Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 4.3.0 and prior to version 4.14.3, a Denial of Service (DoS) vulnerability exists in the Wazuh API authentication middleware (`middlewares.py`). The application uses an asynchronous event loop (Starlette/Asyncio) to call a synchronous function (`generate_keypair`) that performs blocking disk I/O on every request containing a Bearer token. An unauthenticated remote attacker can exploit this by flooding the API with requests containing invalid Bearer tokens. This forces the single-threaded event loop to pause for file read operations repeatedly, starving the application of CPU resources and potentially preventing it from accepting or processing legitimate connections. Version 4.14.3 fixes the issue.
References
Link Resource
https://github.com/wazuh/wazuh/security/advisories/GHSA-33w3-p5hm-jw7g Exploit Vendor Advisory Mitigation
Configurations

Configuration 1 (hide)

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

History

19 Mar 2026, 14:58

Type Values Removed Values Added
References () https://github.com/wazuh/wazuh/security/advisories/GHSA-33w3-p5hm-jw7g - () https://github.com/wazuh/wazuh/security/advisories/GHSA-33w3-p5hm-jw7g - Exploit, Vendor Advisory, Mitigation
CPE cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
First Time Wazuh wazuh
Wazuh

18 Mar 2026, 14:52

Type Values Removed Values Added
Summary
  • (es) Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. A partir de la versión 4.3.0 y antes de la versión 4.14.3, existe una vulnerabilidad de denegación de servicio (DoS) en el middleware de autenticación de la API de Wazuh ('middlewares.py'). La aplicación utiliza un bucle de eventos asíncrono (Starlette/Asyncio) para llamar a una función síncrona ('generate_keypair') que realiza operaciones de E/S de disco bloqueantes en cada solicitud que contiene un token Bearer. Un atacante remoto no autenticado puede explotar esto inundando la API con solicitudes que contienen tokens Bearer no válidos. Esto fuerza al bucle de eventos de un solo hilo a pausar repetidamente para operaciones de lectura de archivos, privando a la aplicación de recursos de CPU y potencialmente impidiendo que acepte o procese conexiones legítimas. La versión 4.14.3 corrige el problema.

17 Mar 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-17 19:16

Updated : 2026-03-19 14:58


NVD link : CVE-2026-25771

Mitre link : CVE-2026-25771

CVE.ORG link : CVE-2026-25771


JSON object : View

Products Affected

wazuh

  • wazuh
CWE
CWE-400

Uncontrolled Resource Consumption