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.
Published: 2026-11-06
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: SQL injection that can expose agent internal keys
Action: Patch
AI Analysis

Impact

This flaw exists in the WazuhDBBackend._substitute_params method, allowing a crafted query to bypass safe parameter handling. By injecting a UNION SELECT into the q or search parameters, a privileged user can retrieve sensitive values. The vulnerability leverages regex placeholder cross‑contamination, a classic SQL injection scenario.

Affected Systems

All Wazuh installations running versions 4.0.0 up to but not including 4.14.9. The product is Wazuh, a security monitoring platform. The vulnerability affects the backend database interface used by authenticated agents.

Risk and Exploitability

CVSS 7.1 indicates moderate severity. EPSS is not available, so the probability of exploitation is uncertain, and the issue is not listed in CISA KEV. The likely attack vector requires an authenticated user with agent:read permissions, meaning an insider or compromised account can perform the attack. The use of a blind boolean oracle allows the attacker to confirm the success of the injected query and extract every agent's internal_key.

Generated by OpenCVE AI on November 6, 2026 at 16:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wazuh to version 4.14.9 or later to receive the fixed implementation of WazuhDBBackend._substitute_params.
  • If upgrading is delayed, restrict agent:read permissions to only trusted service accounts and monitor for unusual query patterns to limit the attack surface.
  • Implement network segmentation or firewall rules to restrict outbound connections from the Wazuh manager to external data sources, thereby reducing potential impact.
  • Regularly review Wazuh security advisories and apply patches promptly to maintain protection against known vulnerabilities.

Generated by OpenCVE AI on November 6, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title Wazuh before 4.14.9 SQL Injection via WazuhDBBackend _substitute_params
First Time appeared Wazuh
Wazuh wazuh
Weaknesses CWE-89
CPEs cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
Vendors & Products Wazuh
Wazuh wazuh
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-06T15:00:47.296Z

Reserved: 2026-10-19T14:41:46.701Z

Link: CVE-2026-112341

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T15:17:08.710

Modified: 2026-11-06T15:17:08.710

Link: CVE-2026-112341

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T17:30:08Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')