{"id":"CVE-2026-61800","published":"2026-08-27T23:26:28Z","modified":"2026-08-28T15:56:58Z","title":"Wazuh cluster worker file sync allows arbitrary file write under /var/ossec (incomplete fix for CVE-2026-30893)","vendor":"wazuh","product":"wazuh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00976,"percentile":0.60872,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-3jff-488g-335f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wazuh/wazuh/commit/f7f7c4d2d9e683c5d42e997fe7028a3fb2578853","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":12.17},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"wazuh","affectedVersions":[{"vendor":"wazuh","product":"wazuh","versions":[">= 4.4.0, < 4.14.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-28T15:14:42.068173Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-67340","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-wazuh-cve-2026-30893","parents":[{"from":"CVE-2026-30893","to":"CVE-2026-61800","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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.","from":"CVE.org","in":"CVE-2026-61800"}]}]}}