CVE-2026-54085 affects Wazuh versions 4.2.0 through 4.14.6, an open-source XDR and SIEM platform. Multiple active response scripts fail to validate attacker-influenced alert fields before passing them to privileged system commands running as root. Specifically, five scripts handling the srcip field omit the get_ip_version() validation check, and disable-account.c insufficiently validates the dstuser field. An attacker capable of injecting crafted log events via syslog can supply malicious srcip or dstuser values that trigger argument injection into firewall and account-management commands such as pfctl, npfctl, ipfw, route, netsh, and passwd. On Windows, unquoted CreateProcess command-line concatenation in wpopenv() further amplifies the risk by allowing space-delimited argument injection. The disable-account.c script can additionally be abused to lock arbitrary system accounts. The vulnerability is fixed in Wazuh version 4.14.7.