CVE-2026-48162: Wazuh: cluster peer can read arbitrary master files and forge offline REST API administrator tokens via DAPI tmp_file path injection in Wazuh manager
CVE-2026-48162 affects 73 listed versions of Wazuh in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Wazuh
73 of 82 listed versions are affected. Fixed in 4.14.6. The newest release, 4.14.11, is not affected.
4.14.5 4.14.4 4.14.3 4.14.2 4.14.1 4.14.0 4.13.1 4.13.0 4.12.0 4.11.2 4.11.1 4.11.0 4.10.5 4.10.4 4.10.3 4.10.2 4.10.1 4.10.0 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.5 4.7.4 4.7.3 4.7.2 4.7.1 4.7.0 4.6.0 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.7 4.2.6 4.2.5 4.2.4 4.2.3 4.2.2 and 13 more
What it is
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, DistributedAPI.send_tmp_file() in framework/wazuh/core/cluster/dapi/dapi.py joins an attacker-controlled tmp_file value to WAZUH_PATH without canonicalization or confinement. A cluster peer holding the shared Fernet key can use traversal or an absolute path to make the master return any readable file over the cluster channel. Reading /var/ossec/api/configuration/security/private_key.pem allows the peer to forge administrator REST API tokens offline and then exercise administrative privileges without creating an account. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (GitHub)
Published by GitHub on 19 August 2026. Last changed 26 October 2026.
Sources
Check one version you run: look CVE-2026-48162 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.