Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to API with manager:update_config role
-
DeliveryUpload ossec.conf with uppercase LOG_FORMAT command localfile
-
ExploitCase-mismatch hides command from validator
-
ExecutionTrigger manager reload via manager:restart
-
Persistwazuh-logcollector parses and runs command as root
-
ImpactRoot code execution on manager host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
|
| Exploitation Conditions | Requires an authenticated Wazuh API user holding manager:update_config plus manager:restart (to trigger the reload) - notably the built-in, non-system-admin cluster_admin role ('Manager administrator', policy cluster_all) grants both, so a single non-administrator role performs the whole upload-and-reload chain. Exploitation succeeds even against the hardened setting upload_configuration.remote_commands.localfile.allow: no, because the uppercase <LOG_FORMAT> element is invisible to the validator. It is reachable directly over REST (PUT /manager/configuration) on a single, non-clustered manager with no cluster key, and equally via the cluster/DAPI path. Limiting factors: the caller must be authenticated with the above privilege (not unauthenticated); affected versions are wazuh-manager 4.14.3 through 4.14.7 and 4.10.4; the injected command runs as root because wazuh-logcollector executes command localfiles as root even though wazuh-apid itself runs as the non-root wazuh user. |
| Impact | This is a credible, patch-worthy flaw rather than a mass-exploitation emergency. The vendor-revised CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, 7.2) and the input CVSS 4.0 base (8.6) agree on the mechanics: network-reachable, low attack complexity, no user interaction, full confidentiality/integrity/availability impact - but gated behind PR:H, i.e. the attacker must already hold a privileged authenticated API capability (manager:update_config). The two scores differ in headline number (8.6 4.0 vs 7.2 revised 3.1) because of framework scaling, not disagreement on the vector. EPSS is low (0.37%, 29th percentile) and the CVE is NOT in CISA KEV, which together argue against widespread opportunistic exploitation. However, self-contained PoC scripts (poc_rest.py, poc_dapi.py) are published in the GHSA advisory with out-of-band root-execution evidence (uid=0), so a working exploit path is demonstrably real, not theoretical. The vuln.today decision label is 'this_week', consistent with a serious privilege-escalation-to-root that is nonetheless rate-limited by the authentication requirement. Net: prioritize patching where lower-trust operators or potentially-compromisable API accounts could hold the built-in cluster_admin role, but this is not an unauthenticated internet-facing worm risk. The low EPSS despite a public PoC reflects the privilege gate, not a flaw in the research. |
| Exploit ScenarioDerived | An authenticated Wazuh API user holding manager:update_config (the built-in non-admin cluster_admin role is sufficient) uploads a crafted ossec.conf via PUT /manager/configuration containing an uppercase <LOG_FORMAT>full_command</LOG_FORMAT> localfile with a <command> element; the case-sensitive Python validator never classifies it as a command (so even remote_commands.localfile.allow: no does not block it), and on the next manager reload wazuh-logcollector - which matches the tag case-insensitively - runs the command as root. Public PoC scripts (REST and cluster/DAPI paths) demonstrate this against hardened configs with confirmed uid=0 root execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 26, 2026
Wazuh Manager 4.14.3 through 4.14.7 and 4.10.4 allow an authenticated API user holding manager:update_config to escalate to root command execution on the manager host by uploading an ossec.conf containing an uppercase <LOG_FORMAT> element. The Python configuration validator matches the log_format tag name case-sensitively and therefore never classifies the block as a command, while wazuh-logcollector matches the same element with strcasecmp and executes its <command> as root on the next reload. The bypass works even with the hardened upload_configuration.remote_commands.localfile.allow: no setting, and the built-in non-system-admin cluster_admin role ('Manager administrator', policy cluster_all) grants both manager:update_config and manager:restart, so a single non-administrator role can complete the upload-and-reload chain over REST on a single, non-clustered manager. Proof-of-concept scripts using a safe /tmp marker are attached to the upstream advisory; EPSS is low (0.37%, 29th percentile) and there is no public exploit identified at time of analysis beyond those PoC references.
Earlier versions of this analysis (1)
Root-level command execution on the Wazuh Manager host is achievable by an authenticated administrator who holds the manager:update_config permission and submits an ossec.conf localfile block whose LOG_FORMAT keyword is spelled in uppercase. The case-sensitive configuration validator does not recognize the uppercase form as a remote-command directive and lets it pass, while wazuh-logcollector matches the keyword case-insensitively and therefore executes the embedded command as root the next time the configuration is reloaded. The flaw affects Wazuh 4.14.3 through 4.14.7 and is fixed in 4.14.8; no public exploit code has been identified at time of analysis, and the real-world risk is materially gated by the high-privilege (PR:H) prerequisite required to reach the vulnerable configuration path.
RemediationAI
Vendor-released patch: upgrade wazuh-manager to 4.14.8 (for the 4.14 line) or 4.10.5 (for the 4.10 line); packages, release notes and the corrected case-insensitive matching in the shared check_remote_commands/XML handling are referenced at https://github.com/wazuh/wazuh/releases/tag/v4.14.8 and the advisory https://github.com/wazuh/wazuh/security/advisories/GHSA-cjf8-wjx6-hjw6. The fix is deliberately placed in the shared validator so that both the REST and cluster/DAPI entry points are covered at once - patching only one path would leave the other exploitable. Until the upgrade is applied, note that setting upload_configuration.remote_commands.localfile.allow: no does NOT mitigate this flaw, since the uppercase <LOG_FORMAT> element is invisible to the validator; the effective compensating controls are access-oriented: remove manager:update_config and manager:restart from roles that do not strictly require delegated manager administration (including auditing use of the built-in cluster_admin / cluster_all policy, whose trade-off is loss of that delegated management capability), restrict network access to the wazuh-apid REST endpoint to trusted administrative hosts, and review existing manager configuration files for anomalous uppercase <LOG_FORMAT> elements or unexpected <command> localfiles, remembering that logcollector re-reads ossec.conf on any manager restart rather than only on an immediate reload. Remediation should be prioritised this week per the current decision signal; EPSS is low (0.37%) and there is no CISA KEV confirmation of active exploitation.
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
The flaw is a parser differential (CWE-178 case-sensitivity, with CWE-436 interpretation conflict) between two components that read the same <localfile> XML differently. The Python validator check_remote_commands in framework/wazuh/core/utils.py builds its dictionary via element_to_dict, which keys on the verbatim XML tag name (result[child.tag] = ..., line 973); _filter_remote_commands only inspects the lowercase key ['localfile']['log_format']['value'] (line 900), and load_wazuh_xml parses with fromstring without normalizing tag case (line 1174). An element named <LOG_FORMAT> lands under a different key, is never treated as a log_format, and WazuhError(1124) is never raised. The executor, wazuh-logcollector in src/config/localfile-config.c, matches the element name with strcasecmp (line 347), so <LOG_FORMAT> is accepted as a log_format element, while the value is compared case-sensitively with strcmp (line 366) against "full_command" - the attack only changes the element name, leaving the value lowercase so the collector's value comparison still matches. A benign lowercase <log_format>syslog</log_format> decoy satisfies the validator's lowercase lookup and avoids a parse error, while the uppercase sibling carries the command. Both ingestion paths - REST PUT /manager/configuration (manager_controller.update_configuration, line 585, which decodes the octet-stream body with no additional XML validation) and the cluster/DAPI path - funnel through update_ossec_conf and the same validate_wazuh_xml / check_remote_commands logic, which is why the upstream fix belongs in the shared validator rather than in one entry point. Because wazuh-apid runs as the non-root wazuh user but wazuh-logcollector executes command localfiles as root, the caller's privilege effectively escalates from API operator to root on the manager host. Note the upstream advisory's CVSS 3.1 re-score of 7.2 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H), matching this assessment's scope-unchanged view; the supplied CVSS 4.0 score of 8.6 reflects the same high privileges required and high confidentiality, integrity and availability impact within the manager host.
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:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network REST API (AV:N), reliable case-mismatch trigger (AC:L), requires the privileged manager:update_config capability (PR:H), no user interaction; yields root code execution so C:H/I:H/A:H, scope unchanged as it runs under the host's own authority.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
Wazuh 4.14.3 before 4.14.8 contains a case-sensitivity mismatch between the ossec.conf validator and wazuh-logcollector that bypasses remote-command validation. Authenticated users with manager:update_config can inject an uppercase LOG_FORMAT command localfile that the collector runs as root on reload.
Technical POC Analysis
CWE-178, with the cross-component mismatch also matching CWE-436 interpretation conflict.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Wazuh Manager versions 4.14.3 through 4.14.7 and 4.10.4 contain a high-severity vulnerability (CVE-2026-74041) that lets an authenticated user with a non-administrator role escalate to root on the manager host. This directly threatens the integrity and availability of the entire security monitoring platform, as any holder of the 'Manager administrator' role-often granted to operations staff-can fully compromise the manager. Leadership should prioritize patching to prevent unauthorized root access and potential lateral movement.
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
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
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
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 permis
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-98677
NVD
CVE.org
EPSS
GitHub
Exploit-DB