CVE-2026-48162Wazuh: cluster peer can read arbitrary master files and forge offline REST API administrator tokens via DAPI tmp_file path injection in Wazuh manager
Updated under an hour ago ()
Does this affect you?
It affects wazuh. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 9.1 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-73
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Aug 25, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
wazuh wazuh wazuh:wazuh (from the name) | from 4.0.0, < 4.14.6; from 5.0.0-beta1, < 5.0.0-beta3 | CNA record |
wazuh wazuh wazuh:wazuh | from 4.0.0 before 4.14.6; 5.0.0; 5.0.0 | NVD |
References
- https://github.com/wazuh/wazuh/security/advisories/GHSA-r6f5-h662-8ffcx-refsource-confirm, exploit, vendor-advisory
- https://github.com/wazuh/wazuh/pull/36246x-refsource-misc, issue-tracking, patch
- https://github.com/wazuh/wazuh/commit/de1eeedbe336744934be4e20d87d84a76e438ceex-refsource-misc, patch
- https://github.com/wazuh/wazuh/releases/tag/v4.14.6x-refsource-misc, patch, release-notes
- https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3x-refsource-misc, patch, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.