{"id":"CVE-2026-49441","aliases":["CVE-2026-49441"],"related":[],"kind":"vulnerability","state":"published","title":"Wazuh : peer-controlled metadata key in process_files_from_worker non-merged branch allows arbitrary file write under WAZUH_PATH on Wazuh manager","summary":"Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.3.0 until 4.14.6 and 5.0.0-beta3, the non-merged branch of process_files_from_worker() in framework/wazuh/core/cluster/master.py trusts a peer-controlled file_path key from files_metadata.json. The destination is joined to WAZUH_PATH without proving that it remains inside the directory selected by cluster_item_key. A cluster peer holding the shared Fernet key can upload a crafted extra-valid archive and overwrite security-sensitive files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution after a service reload. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.3.0 until 4.14.6 and 5.0.0-beta3, the non-merged branch of process_files_from_worker() in framework/wazuh/core/cluster/master.py trusts a peer-controlled file_path key from files_metadata.json. The destination is joined to WAZUH_PATH without proving that it remains inside the directory selected by cluster_item_key. A cluster peer holding the shared Fernet key can upload a crafted extra-valid archive and overwrite security-sensitive files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution after a service reload. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.","source":"cvelist"},{"lang":"es","text":"Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Desde la versión 4.3.0 hasta la 4.14.6 y la 5.0.0-beta3, la rama no fusionada de process_files_from_worker() en framework/wazuh/core/cluster/master.py confía en una clave file_path controlada por un par de files_metadata.json. El destino se une a WAZUH_PATH sin probar que permanece dentro del directorio seleccionado por cluster_item_key. Un par del clúster que posee la clave Fernet compartida puede cargar un archivo extra-válido manipulado y sobrescribir archivos sensibles a la seguridad, como /var/ossec/etc/ossec.conf. Reemplazar ossec.conf puede configurar comandos ejecutados como root y conducir a la ejecución de código después de una recarga del servicio. Este problema está solucionado en las versiones 4.14.6 y 5.0.0-beta3.","source":"nvd"}],"published":"2026-08-19T16:19:37.206Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"GitHub_M","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"},"severities":[{"scorer":"GitHub_M","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-73"],"affected":[{"ranges":[{"version":">= 4.3.0, < 4.14.6","status":"affected"},{"version":">= 5.0.0-beta1, < 5.0.0-beta3","status":"affected"}],"vendor":"wazuh","product":"wazuh","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.3.0","fixed":"4.14.6"},{"status":"affected","version":"5.0.0"},{"status":"affected","version":"5.0.0"}],"vendor":"wazuh","product":"wazuh","cpe":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-3v57-hgvj-3vj2","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/pull/36296","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/commit/7f13682cf5f01f69452f723a608ab2d89cfb2133","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6","tags":["patch","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3","tags":["patch","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-19T18:16:03.616Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49441","url":"https://www.cve.org/CVERecord?id=CVE-2026-49441","licence":"CVE Terms of Use","modified":"2026-08-19T18:18:21.696Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49441","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49441","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:33.983Z","epss":{"score":0.00523,"percentile":0.45859,"date":"2026-12-01T12:00:22.000Z"}}