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-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.
CVSS 8.4EPSS 0.41200000000000003%Risque 0.87
Voir la source- Publication
- 2026-08-19 17:18:49
- Versions concernées
- >=4.0.0,<4.14.6,==5.0.0-beta2
- Type
- Logiciel critique
- Dernière modification
- 2026-08-19 18:16:39
- Vecteur
- CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H