{"id":"CVE-2026-74040","state":"PUBLISHED","title":"Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker","description":"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.","publishedAt":"2026-10-13T13:27:30.557Z","updatedAt":"2026-10-26T14:15:48.059Z","severity":{"score":9.4,"label":"Critical","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Wazuh wazuh-manager"],"affected":[{"vendor":"Wazuh","product":"wazuh-manager","packageURL":"pkg:github/wazuh/wazuh","defaultStatus":"unaffected","versions":[{"version":"3.9.0","status":"affected","lessThan":"4.14.8","versionType":"semver"},{"version":"4.14.8","status":"unaffected","versionType":"semver"}],"repo":"https://github.com/wazuh/wazuh"}],"references":["https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8","https://github.com/wazuh/wazuh/releases/tag/v4.14.8","https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74040.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74040","state":"PUBLISHED","datePublished":"2026-10-13T13:27:30.557Z","dateUpdated":"2026-10-26T14:15:48.059Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-14T14:06:40.512Z"},"containers":{"cna":{"title":"Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Wazuh","product":"wazuh-manager","packageURL":"pkg:github/wazuh/wazuh","defaultStatus":"unaffected","versions":[{"version":"3.9.0","status":"affected","lessThan":"4.14.8","versionType":"semver"},{"version":"4.14.8","status":"unaffected","versionType":"semver"}],"repo":"https://github.com/wazuh/wazuh"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-88p6-7cm8-xwj8)"},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.8","name":"Wazuh v4.14.8 Release Notes","tags":["patch","release-notes"]},{"url":"https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker","name":"VulnCheck Advisory: Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-26T14:15:48.059Z"},"datePublic":"2026-10-13T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9.0","versionEndExcluding":"4.14.8"}]}]}],"credits":[{"lang":"en","value":"TarPeg007","type":"reporter"},{"lang":"en","value":"vikman90","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T21:53:07.447925Z","id":"CVE-2026-74040","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T21:53:48.974Z"}}]}}}