{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*",
              "cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "4.6.0"
              },
              {
                "fixed": "4.14.6"
              },
              {
                "introduced": "5.0.0-beta1"
              },
              {
                "last_affected": "5.0.0-beta1"
              },
              {
                "introduced": "5.0.0-beta2"
              },
              {
                "last_affected": "5.0.0-beta2"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "a6e26aea57cf341a530a948503057de743d8d46e"
            },
            {
              "fixed": "44c2925b46bd058d2426bd44ed1b3e5d7b7b03b4"
            },
            {
              "introduced": "cddd833300cb5af494ba7dab31192bae649eb184"
            },
            {
              "fixed": "8e4e25b971dfb7b15bc492f10f8a350e6b37e70e"
            },
            {
              "fixed": "da844a6fdafd7388d11114841482596d1efdf5b3"
            }
          ],
          "repo": "https://github.com/wazuh/wazuh",
          "type": "GIT"
        }
      ],
      "versions": [
        "5.0.0-beta1",
        "5.0.0-beta2"
      ]
    }
  ],
  "aliases": [
    "GHSA-9c4x-mrjh-rmw5"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20",
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49392.json"
  },
  "details": "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.",
  "id": "CVE-2026-49392",
  "modified": "2026-09-17T03:30:43.500138155Z",
  "published": "2026-08-19T16:22:49.021Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/wazuh/wazuh/releases/tag/v4.14.6"
    },
    {
      "type": "WEB",
      "url": "https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49392.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49392"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wazuh/wazuh/pull/36399"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd"
}