SecurityContext

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

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70envd2026-08-19
https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5nvd2026-08-19

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70eExploit, Patch
https://github.com/wazuh/wazuh/pull/36399Issue Tracking, Patch
https://github.com/wazuh/wazuh/releases/tag/v4.14.6Patch, Release Notes
https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3Patch, Release Notes
https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5Exploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wazuh:wazuh= 5.0.0 beta1; = 5.0.0 beta2; >= 4.6.0, < 4.14.6nonvd/v1/products/wazuh/wazuh

Projects

RepositoryLink kindsIndexedUrl
wazuh/wazuhcommit, fix, pull, releases, security_advisoryyes/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