Description
Wazuh 4.0.0 before 4.14.7 and 5.0.0-beta2 contain a denial of service vulnerability that allows authenticated attackers with allow_run_as enabled to exhaust CPU resources by submitting arbitrarily deeply nested JSON structures to the POST /security/user/authenticate/run_as endpoint. Attackers can repeatedly submit malformed auth_context bodies with unlimited nesting depth to cause the API framework to consume excessive CPU, denying service to all other API consumers.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Wazuh | wazuh-manager | >= 4.0.0, < 4.14.7; 5.0.0-beta2 |
References
- https://github.com/wazuh/wazuh/pull/37034Issue Tracking, Patch
- https://github.com/wazuh/wazuh/security/advisories/GHSA-5vh8-34r8-q74qExploit, Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/wazuh-api-dos-via-deeply-nested-json-auth-contextThird Party Advisory
- https://github.com/wazuh/wazuh/security/advisories/GHSA-5vh8-34r8-q74qExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Aug 18, 2026
- Last modified
- Oct 22, 2026
- NVD status
- Analyzed