{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*",
              "cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.14.6"
              },
              {
                "introduced": "5.0.0-beta1"
              },
              {
                "last_affected": "5.0.0-beta1"
              },
              {
                "introduced": "5.0.0-beta2"
              },
              {
                "last_affected": "5.0.0-beta2"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "8c2c62a6e9dcbcf2c792f7924e8cfdb26842820b"
            },
            {
              "fixed": "44c2925b46bd058d2426bd44ed1b3e5d7b7b03b4"
            },
            {
              "introduced": "cddd833300cb5af494ba7dab31192bae649eb184"
            },
            {
              "fixed": "88fc89fdfb1bf37b9d826e9c281a3d22655733de"
            },
            {
              "fixed": "da844a6fdafd7388d11114841482596d1efdf5b3"
            }
          ],
          "repo": "https://github.com/wazuh/wazuh",
          "type": "GIT"
        }
      ],
      "versions": [
        "5.0.0-beta1",
        "5.0.0-beta2"
      ]
    }
  ],
  "aliases": [
    "GHSA-gh4h-fx78-q8xc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48024.json"
  },
  "details": "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.",
  "id": "CVE-2026-48024",
  "modified": "2026-09-17T03:30:45.321908341Z",
  "published": "2026-08-19T16:14:20.847Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/wazuh/wazuh/releases/tag/v4.14.6"
    },
    {
      "type": "WEB",
      "url": "https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48024.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-gh4h-fx78-q8xc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48024"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wazuh/wazuh/commit/88fc89fdfb1bf37b9d826e9c281a3d22655733de"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wazuh/wazuh/pull/36204"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under WAZUH_PATH in Wazuh manager"
}