Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93346 Overview
CVE-2026-93346 is a race condition vulnerability in the Wazuh API login throttling mechanism. The flaw affects Wazuh versions 4.0.0 through 4.14.7 and is fixed in 4.14.8. Unauthenticated attackers can bypass the max_login_attempts control by issuing concurrent requests to the authenticate and run_as endpoints. Each concurrent request passes the block check before any failed attempt is counted, enabling unlimited password guessing against API accounts. The weakness is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Critical Impact
Attackers can perform unrestricted brute-force attacks against Wazuh API credentials, undermining the primary control designed to prevent credential guessing.
Affected Products
- Wazuh 4.0.0 through 4.14.7
- Wazuh API authenticate endpoint
- Wazuh API run_as endpoint
Discovery Timeline
- 2026-10-13 - CVE-2026-93346 published to NVD
- 2026-10-15 - Last updated in NVD database
Technical Details for CVE-2026-93346
Vulnerability Analysis
The Wazuh API enforces a configurable max_login_attempts limit to prevent brute-force authentication. The throttling logic reads the current failure counter, decides whether to block the request, and only afterward records a new failure. This read-check-update sequence is not atomic. An attacker who sends many parallel login requests passes the block check in every concurrent worker before any of them increments the counter.
The result is a classic time-of-check to time-of-use (TOCTOU) condition in authentication throttling. Both the authenticate and run_as endpoints share the vulnerable path, so credential guessing is possible against standard logins and role-switching flows. Successful exploitation permits large-scale password spraying against local Wazuh API users, including the default wazuh and wazuh-wui accounts.
Root Cause
The root cause is non-atomic enforcement of the login attempt counter. Concurrency primitives are missing around the counter read, comparison, and increment. Multiple requests observe the same pre-failure state and are all permitted to proceed.
Attack Vector
The vulnerability is reachable over the network and requires no authentication or user interaction. An attacker scripts bursts of concurrent HTTP POST requests to the Wazuh API login endpoint with candidate passwords. See the VulnCheck advisory and the GitHub Security Advisory GHSA-crrg-5qvw-8wjx for additional detail.
Detection Methods for CVE-2026-93346
Indicators of Compromise
- High volumes of near-simultaneous POST requests to /security/user/authenticate or /security/user/authenticate/run_as from a single source.
- Repeated authentication failures in Wazuh API logs that exceed the configured max_login_attempts threshold without the account being blocked.
- Successful logins from source addresses that previously generated large numbers of failed attempts within a short window.
Detection Strategies
- Alert on request-rate anomalies against the Wazuh API login endpoints, measured per source IP and per target username over sub-second windows.
- Correlate authentication failure counts with block events; a mismatch indicates the throttling bypass is being exercised.
- Monitor for concurrent TCP connections to the API port from the same client that initiate TLS handshakes within milliseconds of each other.
Monitoring Recommendations
- Forward Wazuh API access and audit logs to a centralized analytics platform for rate-based detection.
- Instrument reverse proxies in front of the Wazuh API to log request timing and enforce connection concurrency limits.
- Track outcomes of the run_as endpoint separately, since role-switching abuse can escalate the impact of a guessed credential.
How to Mitigate CVE-2026-93346
Immediate Actions Required
- Upgrade Wazuh to version 4.14.8 or later using the Wazuh v4.14.8 release.
- Rotate credentials for all Wazuh API users, including default accounts, if the API has been exposed to untrusted networks.
- Restrict network access to the Wazuh API port so only trusted management hosts can reach the authenticate and run_as endpoints.
Patch Information
Wazuh addressed the race condition in release 4.14.8. The fix serializes the login attempt counter so concurrent requests cannot bypass max_login_attempts. Refer to the GitHub Security Advisory GHSA-crrg-5qvw-8wjx for the authoritative patch notes.
Workarounds
- Place the Wazuh API behind a reverse proxy or web application firewall that enforces strict per-source request-rate and concurrency limits on login paths.
- Use network-layer controls such as firewalls or security groups to restrict API access to a small allowlist of administrative sources.
- Deploy fail2ban or equivalent tooling to block source IPs that generate repeated authentication failures against the Wazuh API.
# Example nginx reverse proxy throttle for the Wazuh API login endpoints
limit_req_zone $binary_remote_addr zone=wazuh_login:10m rate=5r/m;
server {
listen 55000 ssl;
location ~ ^/security/user/authenticate(/run_as)?$ {
limit_req zone=wazuh_login burst=5 nodelay;
limit_conn_zone $binary_remote_addr zone=wazuh_conn:10m;
limit_conn wazuh_conn 2;
proxy_pass https://127.0.0.1:55001;
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

