CVE-2026-61800 Wazuh cluster worker file sync allows arbitrary file write under /var/ossec (incomplete fix for CVE-2026-30893)

Critical 9.1 Published Updated

An attacker with the cluster key can write arbitrary files under /var/ossec on worker nodes, leading to remote code execution as root.

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

What is CVE-2026-61800?

CVE-2026-61800 is a critical path traversal vulnerability in Wazuh Wazuh, published on 27 Aug 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. In versions 4.4.0 through 4.14.6, a party holding the cluster key can write, overwrite, or delete arbitrary files under /var/ossec on worker nodes, leading to remote code execution as root. During cluster file synchronization, the non-merged branch of update_master_files_in_worker() moves each staged file to a destination derived only from safe_join(), which confines the path to /var/ossec but never verifies that the file lands in the directory declared by its cluster_item_key. Because the destination check present on the primary node and on the worker's merged branch was not applied, a peer can place files at attacker-chosen locations under /var/ossec, including paths that are executed as root, and the delete branch has the same gap. This is an incomplete fix for CVE-2026-30893, which addressed traversal outside /var/ossec but left this path able to redirect files anywhere within it. This issue is fixed in version 4.14.7.

Weakness: CWE-22

Which versions are affected by CVE-2026-61800?

It affects 1 product.

Products include Wazuh Wazuh.

How do I fix CVE-2026-61800?

No fix has been published for CVE-2026-61800 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-61800 being exploited?

There is no known exploitation of CVE-2026-61800 in the wild and no public exploit code.

All Wazuh Wazuh vulnerabilities

Sources

Also known as GHSA-3jff-488g-335f.

Is CVE-2026-61800 in your software?

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

Check your SBOMs for free