CVE-2026-48162
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2026-48162",
"sourceIdentifier": "[email protected]",
"published": "2026-08-19T17:18:51.233",
"lastModified": "2026-10-26T11:10:00.157",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "wazuh",
"product": "wazuh",
"versions": [
{
"version": ">= 4.0.0, < 4.14.6",
"status": "affected"
},
{
"version": ">= 5.0.0-beta1, < 5.0.0-beta3",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "HIGH",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.3,
"impactScore": 6.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-25T02:14:20.813553Z",
"id": "CVE-2026-48162",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-73"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.0.0",
"versionEndExcluding": "4.14.6",
"matchCriteriaId": "E34130E3-89D7-4413-B1F0-0434248CD325"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*",
"matchCriteriaId": "007B01AA-AED0-4E92-8999-07E74B630460"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*",
"matchCriteriaId": "2CA11D49-6706-4ADE-A639-7034B630B96A"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/wazuh/wazuh/commit/de1eeedbe336744934be4e20d87d84a76e438cee",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/wazuh/wazuh/pull/36246",
"source": "[email protected]",
"tags": [
"Issue Tracking",
"Patch"
]
},
{
"url": "https://github.com/wazuh/wazuh/releases/tag/v4.14.6",
"source": "[email protected]",
"tags": [
"Patch",
"Release Notes"
]
},
{
"url": "https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3",
"source": "[email protected]",
"tags": [
"Patch",
"Release Notes"
]
},
{
"url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-r6f5-h662-8ffc",
"source": "[email protected]",
"tags": [
"Exploit",
"Vendor Advisory"
]
},
{
"url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-r6f5-h662-8ffc",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Vendor Advisory"
]
}
]
}