{"id":"CVE-2026-48162","aliases":["CVE-2026-48162"],"related":[],"kind":"vulnerability","state":"published","title":"Wazuh: cluster peer can read arbitrary master files and forge offline REST API administrator tokens via DAPI tmp_file path injection 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, 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.","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, 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.","source":"cvelist"},{"lang":"es","text":"Wazuh es una plataforma gratuita y de código abierto utilizada para la prevención, detección y respuesta a amenazas. Desde 4.0.0 hasta 4.14.6 y 5.0.0-beta3, DistributedAPI.send_tmp_file() en framework/wazuh/core/cluster/dapi/dapi.py une un valor tmp_file controlado por el atacante a WAZUH_PATH sin canonicalización ni confinamiento. Un par de clúster que posee la clave Fernet compartida puede usar la transversalidad o una ruta absoluta para hacer que el maestro devuelva cualquier archivo legible a través del canal del clúster. La lectura de /var/ossec/api/configuration/security/private_key.pem permite al par falsificar tokens de la API REST de administrador sin conexión y luego ejercer privilegios administrativos sin crear una cuenta. Este problema se soluciona en las versiones 4.14.6 y 5.0.0-beta3.","source":"nvd"}],"published":"2026-08-19T16:13:15.857Z","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.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-r6f5-h662-8ffc","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/pull/36246","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/commit/de1eeedbe336744934be4e20d87d84a76e438cee","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-25T02:14:20.813Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48162","url":"https://www.cve.org/CVERecord?id=CVE-2026-48162","licence":"CVE Terms of Use","modified":"2026-08-25T02:15:14.849Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48162","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48162","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:33.982Z","epss":{"score":0.00571,"percentile":0.48618,"date":"2026-12-01T12:00:22.000Z"}}