{"id":"CVE-2026-49392","aliases":["CVE-2026-49392"],"related":[],"kind":"vulnerability","state":"published","title":"Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Desde la versión 4.6.0 hasta la 4.14.6 y la 5.0.0-beta3, DB::getFile() y DB::searchFile() en src/syscheckd/src/db/src/file.cpp concatenan una ruta de archivo monitoreada en los filtros de fila de SQLite. En sistemas que no son Windows, FIMDBCreator::encodeString() no escapa el valor. Un usuario local que puede crear un nombre de archivo en un directorio de Monitoreo de Integridad de Archivos puede inyectar una expresión UNION SELECT cuando wazuh-syscheckd procesa o elimina esa ruta. La primitiva confirmada manipula los conjuntos de resultados SELECT consumidos por el código FIM; las sentencias apiladas y la ejecución remota de código no fueron demostradas. Este problema está solucionado en las versiones 4.14.6 y 5.0.0-beta3.","source":"nvd"}],"published":"2026-08-19T16:22:49.021Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-89"],"affected":[{"ranges":[{"version":">= 4.6.0, < 4.14.6","status":"affected"},{"version":">= 5.0.0-beta1, < 5.0.0-beta3","status":"affected"}],"vendor":"wazuh","product":"wazuh","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.6.0","fixed":"4.14.6"},{"status":"affected","version":"5.0.0"},{"status":"affected","version":"5.0.0"}],"vendor":"wazuh","product":"wazuh","cpe":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/pull/36399","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e","tags":["exploit","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6","tags":["patch","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3","tags":["patch","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-19T17:44:26.211Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49392","url":"https://www.cve.org/CVERecord?id=CVE-2026-49392","licence":"CVE Terms of Use","modified":"2026-08-19T17:44:32.200Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49392","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49392","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:33.982Z","epss":{"score":0.00289,"percentile":0.23032,"date":"2026-12-01T12:00:22.000Z"}}