---
id: CVE-2026-112341
title: Wazuh before 4.14.9 SQL Injection via WazuhDBBackend _substitute_params
summary: >-
  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…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-89
vendor: wazuh
product: wazuh
affected:
  - wazuh >= 4.0.0 < 4.14.9
published: '2026-11-06'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T15:00:47.296Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112341'
references:
  - url: 'https://github.com/wazuh/wazuh/security/advisories/GHSA-qj88-7rr2-4chx'
    label: GitHub Security Advisory (GHSA-qj88-7rr2-4chx)
  - url: 'https://github.com/wazuh/wazuh/releases/tag/v4.14.9'
    label: wazuh v4.14.9 Release Notes
  - url: >-
      https://www.vulncheck.com/advisories/wazuh-before-4.14.9-sql-injection-via-wazuhdbbackend-substitute-params
    label: >-
      VulnCheck Advisory: Wazuh before 4.14.9 SQL Injection via WazuhDBBackend
      _substitute_params
tags:
  - cve.org
ingestedAt: '2026-11-06T15:54:04.082Z'
epss: 0.00241
epssPercentile: 0.15259
---

## Overview

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

- `wazuh >= 4.0.0 < 4.14.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
