CVE-2026-49392
Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd
Description
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.
INFO
Published Date :
Aug. 19, 2026, 5:18 p.m.
Last Modified :
Sept. 15, 2026, 7:23 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE |
Solution
- Update Wazuh to version 4.14.6 or 5.0.0-beta3.
- Ensure filenames in FIM directories are sanitized.
- Monitor file integrity for unexpected changes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-49392.
| URL | Resource |
|---|---|
| https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e | Exploit Patch |
| https://github.com/wazuh/wazuh/pull/36399 | Issue Tracking Patch |
| https://github.com/wazuh/wazuh/releases/tag/v4.14.6 | Patch Release Notes |
| https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3 | Patch Release Notes |
| https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 | Exploit Vendor Advisory |
| https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-49392 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-49392
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-49392 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-49392 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 15, 2026
Action Type Old Value New Value Added CPE Configuration OR *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:*:*:*:*:*:*:*:* versions from (including) 4.6.0 up to (excluding) 4.14.6 Added Reference Type GitHub, Inc.: https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e Types: Exploit, Patch Added Reference Type GitHub, Inc.: https://github.com/wazuh/wazuh/pull/36399 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/wazuh/wazuh/releases/tag/v4.14.6 Types: Patch, Release Notes Added Reference Type GitHub, Inc.: https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3 Types: Patch, Release Notes Added Reference Type GitHub, Inc.: https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 Types: Exploit, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 19, 2026
Action Type Old Value New Value Added Reference https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 Added SSVC {'id': 'CVE-2026-49392', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-19T17:44:26.211973Z'} -
New CVE Received by [email protected]
Aug. 19, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'wazuh', 'product': 'wazuh', 'versions': [{'status': 'affected', 'version': '>= 4.6.0, < 4.14.6'}, {'status': 'affected', 'version': '>= 5.0.0-beta1, < 5.0.0-beta3'}]}] Added Description 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. Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Added CWE CWE-20 Added CWE CWE-89 Added Reference https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e Added Reference https://github.com/wazuh/wazuh/pull/36399 Added Reference https://github.com/wazuh/wazuh/releases/tag/v4.14.6 Added Reference https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3 Added Reference https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5