SQL injection in Wazuh WazuhDBBackend exposes agent internal keys
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
Wazuh versions from 4.0.0 before 4.14.9 contain an SQL injection flaw (CWE-89) in WazuhDBBackend._substitute_params. Sequential regex placeholder substitution cross-contaminates parameters, so attacker-supplied input reaches the SQL command. An authenticated user with agent:read on one agent can inject SQL through the q and search parameters and extract every agent's internal key through a blind boolean oracle.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Wazuh to version 4.14.9, the fixed version for the affected range from 4.0.0 before 4.14.9.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA wazuh (wazuh) Fixed in 4.14.9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
wazuh 4.14.9
7 records Highest priority Priority HIGH 1 HIGH, 6 LOW
Other records, highest priority first
- TI-2026-85943 Server-side request forgery in Wazuh GitHub module leaks API tokenPriority HIGH 69
- TI-2026-85944 Missing TLS hostname verification in Wazuh fluent-forward modulePriority LOW 35
- TI-2026-85941 Wazuh Manager JSON Decoder Memory Leak Enables Denial of ServicePriority LOW 32
Timeline
- 2026-11-06 Threatist record created from CVE-2026-112341
- 2026-11-08 Priority changed: MEDIUM → LOW
References
More Wazuh vulnerabilities
- TI-2025-17783 Remote code execution in Wazuh server KEVCVSS 3.1CRITICAL 9.9
- TI-2026-47604 Wazuh GitHub Actions Shell Injection via Fork Pull Request CVSS 4.0CRITICAL 9.3
- TI-2026-71739 Missing origin check in Wazuh manager allows arbitrary file read CVSS 4.0HIGH 8.7
- TI-2026-71743 Arbitrary file overwrite in Wazuh manager enables root code execution CVSS 4.0CRITICAL 9.4
- TI-2026-23722 Path traversal in wazuh CVSS 3.1CRITICAL 9.9
- TI-2024-01157 Remote code execution and local privilege escalation in Wazuh Windows agent via NetNTLMv2 hash theft CVSS 4.0CRITICAL 9.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences