CVE-2026-25771: Wazuh Vulnerable to Denial of Service via Synchronous I/O Blocking in Asynchronous Authentication Middleware
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 (generatekeypair) 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-25771?
The severity of CVE-2026-25771 is classified as high due to its potential for causing Denial of Service.
How do I fix CVE-2026-25771?
To fix CVE-2026-25771, upgrade Wazuh to version 4.14.3 or later.
What causes CVE-2026-25771?
CVE-2026-25771 is caused by synchronous I/O blocking within the asynchronous authentication middleware.
Which versions of Wazuh are affected by CVE-2026-25771?
Wazuh versions from 4.3.0 to prior to 4.14.3 are affected by CVE-2026-25771.
What are the potential impacts of CVE-2026-25771?
The potential impacts of CVE-2026-25771 include the disruption of services and unavailability of the Wazuh platform.