← Back to CVE Explorer

CVE-2026-49392

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
5.3 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-08-19 17:18:53.770000
Last modified
2026-10-26 11:10:00.157000
View original CVE JSON
{
  "id": "CVE-2026-49392",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-19T17:18:53.770",
  "lastModified": "2026-10-26T11:10:00.157",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "wazuh",
          "product": "wazuh",
          "versions": [
            {
              "version": ">= 4.6.0, < 4.14.6",
              "status": "affected"
            },
            {
              "version": ">= 5.0.0-beta1, < 5.0.0-beta3",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 3.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-19T17:44:26.211973Z",
          "id": "CVE-2026-49392",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        },
        {
          "lang": "en",
          "value": "CWE-89"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.6.0",
              "versionEndExcluding": "4.14.6",
              "matchCriteriaId": "5F64E8BE-4501-4274-B46E-A852DF65F8F9"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*",
              "matchCriteriaId": "007B01AA-AED0-4E92-8999-07E74B630460"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*",
              "matchCriteriaId": "2CA11D49-6706-4ADE-A639-7034B630B96A"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/wazuh/wazuh/commit/8e4e25b971dfb7b15bc492f10f8a350e6b37e70e",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Patch"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/pull/36399",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking",
        "Patch"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/releases/tag/v4.14.6",
      "source": "[email protected]",
      "tags": [
        "Patch",
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3",
      "source": "[email protected]",
      "tags": [
        "Patch",
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-9c4x-mrjh-rmw5",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ]
    }
  ]
}