CVE-2026-74040 PUBLISHED

Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker

Assigner: VulnCheck
Reserved: 14.08.2026 Published: 13.10.2026 Updated: 13.10.2026

Wazuh versions from 3.9.0 before 4.14.8 contain an arbitrary file overwrite vulnerability in MasterHandler.process_files_from_worker allowing a cluster worker to overwrite protected master files. Attackers controlling a worker can use a trailing-slash basename bypass and missing extra_valid enforcement to overwrite ossec.conf and agent.conf, achieving root remote code execution across the manager and every agent.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS Score: 9.4

Product Status

Vendor Wazuh
Product wazuh-manager
Versions Default: unaffected
  • affected from 3.9.0 to 4.14.8 (excl.)
  • Version 4.14.8 is unaffected

Credits

  • TarPeg007 reporter
  • vikman90 finder

References

Problem Types

  • Missing Authorization CWE