Description
Wazuh from 4.1.0 before 4.14.8 contains a missing origin check in wm_agent_upgrade that allows enrolled agents to issue upgrade_custom commands with attacker-controlled file_path. Attackers can inject an upgrade_custom message over the agent channel to read arbitrary files as root, exfiltrating /etc/shadow and client.keys.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Wazuh | wazuh-manager | 4.1.0 – < 4.14.8 | 4.14.8 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
roninreilly/wazuh-unauth-chain ★ 2 · Oct 14, 2026
Wazuh PoC chaining CVE-2026-74034 file read and CVE-2026-74041 command execution; fixed in 4.14.8. Python standard library only.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-3878 Wazuh: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 13, 2026
References
- GitHub Security Advisory (GHSA-r7hm-43xr-477j) vendor-advisory
- Wazuh v4.14.8 Release Notes patch release-notes
- VulnCheck Advisory: Wazuh 4.1.0 before 4.14.8 Arbitrary File Read via upgrade_custom Command third-party-advisory