CVE-2026-74034 Wazuh 4.1.0 before 4.14.8 Arbitrary File Read via upgrade_custom Command

High 8.7 Published Updated

Enrolled agents can exploit a missing origin check to read arbitrary files as root, potentially exposing sensitive system credentials.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-74034?

CVE-2026-74034 is a high-severity path traversal vulnerability in wazuh-manager, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-74034?

How do I fix CVE-2026-74034?

No fix has been published for CVE-2026-74034 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-74034 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-74034 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-r7hm-43xr-477j.

Is CVE-2026-74034 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free