CVE-2026-112341
Wazuh before 4.14.9 SQL Injection via WazuhDBBackend _substitute_params
7.1
Description
Wazuh versions from 4.0.0 before 4.14.9 contain a sql injection vulnerability in WazuhDBBackend._substitute_params due to sequential regex placeholder cross-contamination. Authenticated users with agent:read on one agent can inject UNION SELECT via the q and search parameters to extract every agent's internal_key through a blind boolean oracle on total_affected_items.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| wazuh | wazuh | 4.0.0 → <4.14.9 | 4.14.9 | CVE.org |