CVE-2026-49392

Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.6.0 until 4.14.6 and 5.0.0-beta3, DB::getFile() and DB::searchFile() in src/syscheckd/src/db/src/file.cpp concatenate a monitored file path into SQLite row filters. On non-Windows systems, FIMDBCreator::encodeString() does not escape the value. A local user who can create a filename in a File Integrity Monitoring directory can inject a UNION SELECT expression when wazuh-syscheckd processes or deletes that path. The confirmed primitive manipulates SELECT result sets consumed by the FIM code; stacked statements and remote code execution were not demonstrated. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Desde la versión 4.6.0 hasta la 4.14.6 y la 5.0.0-beta3, DB::getFile() y DB::searchFile() en src/syscheckd/src/db/src/file.cpp concatenan una ruta de archivo monitoreada en los filtros de fila de SQLite. En sistemas que no son Windows, FIMDBCreator::encodeString() no escapa el valor. Un usuario local que puede crear un nombre de archivo en un directorio de Monitoreo de Integridad de Archivos puede inyectar una expresión UNION SELECT cuando wazuh-syscheckd procesa o elimina esa ruta. La primitiva confirmada manipula los conjuntos de resultados SELECT consumidos por el código FIM; las sentencias apiladas y la ejecución remota de código no fueron demostradas. Este problema está solucionado en las versiones 4.14.6 y 5.0.0-beta3.

15 Sep 2026, 19:23

Type Values Removed Values Added
References () https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e - () https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e - Exploit, Patch
References () https://github.com/wazuh/wazuh/pull/36399 - () https://github.com/wazuh/wazuh/pull/36399 - Issue Tracking, Patch
References () https://github.com/wazuh/wazuh/releases/tag/v4.14.6 - () https://github.com/wazuh/wazuh/releases/tag/v4.14.6 - Patch, Release Notes
References () https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3 - () https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3 - Patch, Release Notes
References () https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 - () https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 - Exploit, Vendor Advisory
First Time Wazuh
Wazuh wazuh
CPE cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

19 Aug 2026, 18:16

Type Values Removed Values Added
References () https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 - () https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 -

19 Aug 2026, 17:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-19 17:18

Updated : 2026-10-26 11:10


NVD link : CVE-2026-49392

Mitre link : CVE-2026-49392

CVE.ORG link : CVE-2026-49392


JSON object : View

Products Affected

wazuh

  • wazuh
CWE
CWE-20

Improper Input Validation

CWE-89

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