CVE-2026-49392
published medium CVSS 3.1 · 5.3Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wazuh | — | wazuh>= 4.6.0, < 4.14.6 · >= 5.0.0-beta1, < 5.0.0-beta3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wazuh | wazuh | >= 4.6.0, < 4.14.6 (affected)>= 5.0.0-beta1, < 5.0.0-beta3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
5- https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e
- https://github.com/wazuh/wazuh/pull/36399
- https://github.com/wazuh/wazuh/releases/tag/v4.14.6
- https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3
- https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5
Provider assertions
2GitHub_M · cna
Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d128ad799a8a74f1de0faa257f210b398af6392600b85a93db49be56670500d
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record