{"id":"CVE-2026-49392","published":"2026-08-19T16:22:49Z","modified":"2026-08-19T17:44:32Z","title":"Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd","vendor":"wazuh","product":"wazuh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00302,"percentile":0.23495,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wazuh/wazuh/pull/36399","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3","tags":["x_refsource_MISC"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":4.7},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"wazuh","affectedVersions":[{"vendor":"wazuh","product":"wazuh","versions":[">= 4.6.0, < 4.14.6",">= 5.0.0-beta1, < 5.0.0-beta3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-19T17:44:26.211973Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-62577","exploited":false,"provenance":"source"}}