{"id":"CVE-2026-74040","aliases":["CVE-2026-74040"],"related":[],"kind":"vulnerability","state":"published","title":"Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-13T13:27:30.557Z","modified":"2026-10-26T14:15:48.059Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.4,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"3.9.0","fixed":"4.14.8","status":"affected"},{"type":"semver","version":"4.14.8","status":"unaffected"}],"vendor":"Wazuh","product":"wazuh-manager","repo":"https://github.com/wazuh/wazuh","source":"cvelist"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.8","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["TarPeg007","vikman90"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-10-16T21:53:07.447Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74040","url":"https://www.cve.org/CVERecord?id=CVE-2026-74040","licence":"CVE Terms of Use","modified":"2026-10-26T14:15:48.059Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74040","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74040","licence":"Public domain","modified":"2026-10-16T22:17:55.680Z"}],"updatedAt":"2026-11-25T22:59:43.823Z","epss":{"score":0.00716,"percentile":0.54987,"date":"2026-12-01T12:00:22.000Z"}}