Summary
CVE-2026-74034 is a missing authorization vulnerability (CWE-862) in the agent upgrade module (wm_agent_upgrade) of Wazuh. It allows an enrolled agent to read arbitrary files on the Wazuh manager as root. It is rated High severity (CVSS v4.0 score 8.7).
Technical details
- Root cause: a missing origin check in
wm_agent_upgrade. - Trigger conditions: the attacker must be an enrolled agent able to send messages over the agent channel.
- Attack vector: the attacker issues
upgrade_customcommands with an attacker-controlledfile_path. - Impact: arbitrary file read as root, including sensitive files such as
/etc/shadowandclient.keys. The impact is on confidentiality only.
Affected software
- Wazuh 4.1.0 through 4.14.7 (inclusive)
Severity
- CVSS v4.0: 8.7 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: upgrade Wazuh to version 4.14.8 or later.
- If you cannot patch immediately, no workaround is documented in the sources reviewed. Restrict network access to the Wazuh manager’s agent communication ports to trusted hosts only, and review enrolled agents for any that are not expected.

