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-beta2, AffectedItemsWazuhResult.merge() in framework/wazuh/core/results.py trusts the sort_casting field in a cluster worker's JSON response. During a distributed API merge, attacker-controlled type names are resolved through Python builtins without an allowlist. A compromised worker can set sort_casting to exec and place Python source in affected_items, causing the master to execute the payload as root when responses from multiple nodes are merged. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44901.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.14.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0-beta1"
},
{
"last_affected": "5.0.0-beta1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0-beta2"
},
{
"last_affected": "5.0.0-beta2"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "b29849f8abb08d78f257e6106b6111a8a1b0e621"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.14.6",
"range": [
{
"fixed": "44c2925b46bd058d2426bd44ed1b3e5d7b7b03b4"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v5.0.0-beta2",
"range": [
{
"fixed": "b58b3b2552497639b1b2a2b23e8de87e4ce9cf02"
}
],
"source": "REFERENCES_TAG"
}
]
}