CVE-2026-49392

Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd

MEDIUM
5.3
CVSS Score
Published: August 19, 2026 at 04:22 PM UTC
Updated: October 26, 2026 at 11:10 AM UTC
1 product affected across 1 vendorWazuh

Using wazuh by wazuh?

Get instant alerts when new vulnerabilities affect wazuh - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.3%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.6.0 ≤ v < 4.14.65.0.05.0.0 beta15.0.0 beta2
Affected range stops below 4.14.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.0-beta3, so it looks safe — our inference, not a vendor statement

References (5)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/wazuh/wazuh/pull/36399
x_refsource_MISCPatchRelease Notes
Source: cverecord
https://github.com/wazuh/wazuh/releases/tag/v4.14.6
x_refsource_MISCPatchRelease Notes
Source: cverecord
https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.3MEDIUMGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-20CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card