{"id":"CVE-2026-48024","aliases":["CVE-2026-48024"],"related":[],"kind":"vulnerability","state":"published","title":"Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under WAZUH_PATH in Wazuh manager","summary":"Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.6 and 5.0.0-beta3, cluster.unmerge_info() in framework/wazuh/core/cluster/cluster.py constructs paths from peer-controlled merge_type and name values in a merged synchronization archive. process_files_from_worker() in framework/wazuh/core/cluster/master.py does not adequately confine the resulting path to the declared cluster item directory. A cluster peer holding the shared Fernet key can use traversal in files_metadata.json or a merged-file header to write files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution when Wazuh services 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.0.0 until 4.14.6 and 5.0.0-beta3, cluster.unmerge_info() in framework/wazuh/core/cluster/cluster.py constructs paths from peer-controlled merge_type and name values in a merged synchronization archive. process_files_from_worker() in framework/wazuh/core/cluster/master.py does not adequately confine the resulting path to the declared cluster item directory. A cluster peer holding the shared Fernet key can use traversal in files_metadata.json or a merged-file header to write files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution when Wazuh services 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.0.0 hasta la 4.14.6 y la 5.0.0-beta3, cluster.unmerge_info() en framework/wazuh/core/cluster/cluster.py construye rutas a partir de valores de merge_type y name controlados por pares en un archivo de sincronización fusionado. process_files_from_worker() en framework/wazuh/core/cluster/master.py no confina adecuadamente la ruta resultante al directorio declarado del elemento del clúster. Un par del clúster que posee la clave Fernet compartida puede usar el recorrido en files_metadata.json o un encabezado de archivo fusionado para escribir archivos como /var/ossec/etc/ossec.conf. Reemplazar ossec.conf puede configurar comandos ejecutados como root y conducir a la ejecución de código cuando los servicios de Wazuh se recargan. Este problema está solucionado en las versiones 4.14.6 y 5.0.0-beta3.","source":"nvd"}],"published":"2026-08-19T16:14:20.847Z","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-22"],"affected":[{"ranges":[{"version":">= 4.0.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.0.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-gh4h-fx78-q8xc","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/pull/36204","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/commit/88fc89fdfb1bf37b9d826e9c281a3d22655733de","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":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-21T19:39:30.558Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48024","url":"https://www.cve.org/CVERecord?id=CVE-2026-48024","licence":"CVE Terms of Use","modified":"2026-08-21T19:39:56.536Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48024","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48024","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:33.982Z","epss":{"score":0.00717,"percentile":0.55032,"date":"2026-12-01T12:00:22.000Z"}}