CVE-2026-49392: Wazuh - SQL Injection
- Cve: CVE-2026-49392
- Name: Wazuh - SQL Injection
- 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.
- Impact: Local users can manipulate SQL query results, potentially bypassing file integrity monitoring protections.
- Remediation: Update to versions 4.14.6 or 5.0.0-beta3 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: sql_injection
- Requirement type: logged_in
- Requirements: Attacker must create a filename in a monitored File Integrity Monitoring directory
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00302
- Epss percentile: 0.23276
- Assignee: [email protected]
- Published at: 2026-08-19T17:18:53Z
- Age in days: 97
- Modified at: 2026-10-26T11:10:00Z
- Patch available: yes
- Public exploits total: 2
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49392
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e | nvd | 2026-08-19 |
| https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5 | nvd | 2026-08-19 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| 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 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wazuh:wazuh | = 5.0.0 beta1; = 5.0.0 beta2; >= 4.6.0, < 4.14.6 | no | nvd | /v1/products/wazuh/wazuh |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wazuh/wazuh | commit, fix, pull, releases, security_advisory | yes | /v1/repositories/wazuh/wazuh |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-08-19
- Authentication required: yes
- Exposed hosts: 7218
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports