Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Wazuh API credentials with allow_run_as
-
DeliverySend repeated POST /security/user/authenticate/run_as requests
-
ExploitSubmit JSON body with unlimited nesting depth
-
ExecutionAPI recursively processes structure without size limit
-
PersistCPU resources exhausted on Wazuh Manager
-
ImpactAll API consumers denied service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two conditions must both be true: (1) the attacker must hold a valid Wazuh API credential - exploitation is authenticated, PR:L per the CVSS 4.0 vector; and (2) the allow_run_as flag must be explicitly enabled for that account in Wazuh RBAC configuration - this is a non-default, operator-configured permission. Network reachability to the Wazuh Manager API port (default 55000) is also required (AV:N). Accounts without allow_run_as cannot reach the vulnerable code path even with valid credentials. Organizations that have not enabled allow_run_as for any account, or that restrict API port access to trusted internal networks, face materially lower risk than the CVSS score alone suggests. |
| Impact | CVSS 4.0 scores this 7.1 with AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H, accurately reflecting that the endpoint is network-reachable, requires only low-privilege credentials (an authenticated account with allow_run_as), and produces high availability impact. The vulnerability is not listed in CISA KEV and no EPSS data was provided, indicating no confirmed active exploitation at time of analysis. Real-world risk is moderate rather than critical: the attacker pool is bounded to accounts explicitly granted the allow_run_as permission flag, which is an opt-in RBAC setting. In multi-tenant or MSSP deployments where many analysts hold run_as rights, this boundary shrinks significantly. The attack is trivially automatable once credentials are in hand, and repeated submissions compound the impact. Organizations that do not use the run_as feature at all are not exploitable at the application layer regardless of patch status. |
| Exploit ScenarioDerived | An attacker holding a Wazuh API account with allow_run_as enabled sends a loop of POST /security/user/authenticate/run_as requests, each with a JSON body containing thousands of levels of nesting such as {"a":{"a":{"a":...}}}. The API framework recursively traverses the full structure on every request with no depth bound, pegging CPU on the Wazuh Manager process. Within seconds, the API becomes unresponsive to all other users - dashboards, integrations, and automated SIEM workflows - until the process is restarted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 18, 2026
CPU exhaustion in Wazuh Manager 4.0.0-4.14.6 and 5.0.0-beta2 allows authenticated API users with the allow_run_as permission to fully deny service to all other API consumers by submitting arbitrarily deeply nested JSON to the POST /security/user/authenticate/run_as endpoint. The API framework processes these structures recursively without any depth or size limit, consuming CPU proportionally to nesting depth until the process becomes unresponsive. No public exploit identified at time of analysis, though the attack primitive is trivially constructible from the CVE description alone.
RemediationAI
Upgrade Wazuh Manager to version 4.14.7 or later; the CVE description boundary confirms 4.14.7 as the fixed release. The upstream fix is available in PR #37034 (https://github.com/wazuh/wazuh/pull/37034), which adds an 8 KB payload size cap on auth_context bodies via CheckAuthContextSizeMiddleware, returning HTTP 413 for oversized requests. Full vendor advisory: https://github.com/wazuh/wazuh/security/advisories/GHSA-5vh8-34r8-q74q. As a compensating control prior to patching, administrators should audit RBAC policy and revoke allow_run_as from any account that does not strictly require it - this eliminates the attack vector entirely for those accounts. Additionally, consider rate-limiting or IP-restricting access to the Wazuh API port (default 55000) at the network perimeter to reduce exposure; note this does not remediate the root cause and may disrupt legitimate API consumers.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wazuh Manager exposes a REST API (default port 55000) for SIEM management, including a run_as endpoint that evaluates JSON auth_context bodies against RBAC rules to issue scoped tokens. The affected code (api/api/middlewares.py, api/api/authentication.py) accepted unbounded JSON payloads with no depth or size validation before passing them to the Python JSON parser and RBAC evaluation logic, a textbook CWE-770 (Allocation of Resources Without Limits or Throttling) failure. CPE cpe:2.3:a:wazuh:wazuh-manager:*:*:*:*:*:*:*:* covers the full affected range. The fix (PR #37034) introduces a CheckAuthContextSizeMiddleware enforcing an 8 KB hard cap on auth_context bodies, returning HTTP 413 for oversized payloads, and splits the single shared thread pool into separate login_pool, token_pool, and rbac_pool executors to prevent cross-operation starvation.
Know when Wazuh Manager gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable endpoint requires low-privilege authenticated account with allow_run_as; only availability is impacted with unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Wazuh Manager versions 4.0.0-4.14.6 and 5.0.0-beta2 contain a denial-of-service vulnerability allowing API users with the allow_run_as permission to exhaust system CPU and crash the API, preventing all other users from accessing security monitoring capabilities. While no public exploit has been identified, the attack vector is trivially constructible from the vulnerability description. Immediate patching is required to maintain security monitoring availability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Wazuh Manager
View allArbitrary file overwrite in Wazuh Manager (3.9.0 through versions prior to 4.14.8) lets an attacker who already controls
Root-level command execution on the Wazuh Manager host is achievable by an authenticated administrator who holds the man
Arbitrary file read as root in Wazuh Manager 4.1.0 through 4.14.7 allows an enrolled agent to inject an upgrade_custom m
Wazuh Manager 4.0.0 through 4.14.7 fails to consult its token revocation blacklist inside the check_token routine, so a
An authentication bypass in the Wazuh Manager API (versions 4.6.0 through 4.14.7) lets an account that already holds del
Path traversal in the Wazuh Manager cluster upload handlers (upload_list_file, upload_rule_file, upload_decoder_file) le
Path traversal in Wazuh Manager 4.1.1 through 4.14.7 lets an attacker who has already compromised a cluster worker node
Heap buffer overflow in Wazuh Manager's File Integrity Monitoring alert generation lets an enrolled agent corrupt manage
Wazuh Manager 4.0.0 through 4.14.7 exposes the plaintext authd.pass agent-enrollment password to authenticated low-privi
Multiple shell injection and untrusted search path vulnerabilities in Wazuh agent and manager (versions 2.1.0 through 4.
Path traversal in Wazuh Manager's delete_rule_file and delete_decoder_file helpers lets an attacker who holds the Wazuh
Path traversal via unsanitized cluster node names in Wazuh Manager 4.0.0 through 4.14.5 enables authenticated cluster pe
EUVD-2026-61075
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB