← Back to CVE Explorer

CVE-2026-44901

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.0.0 until 4.14.6 and 5.0.0-beta2, AffectedItemsWazuhResult.merge() in framework/wazuh/core/results.py trusts the sort_casting field in a cluster worker's JSON response. During a distributed API merge, attacker-controlled type names are resolved through Python builtins without an allowlist. A compromised worker can set sort_casting to exec and place Python source in affected_items, causing the master to execute the payload as root when responses from multiple nodes are merged. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.

Severity
HIGH
CVSS score
8.4 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-08-19 17:18:49.283000
Last modified
2026-10-26 11:10:00.157000
View original CVE JSON
{
  "id": "CVE-2026-44901",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-19T17:18:49.283",
  "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.0.0 until 4.14.6 and 5.0.0-beta2, AffectedItemsWazuhResult.merge() in framework/wazuh/core/results.py trusts the sort_casting field in a cluster worker's JSON response. During a distributed API merge, attacker-controlled type names are resolved through Python builtins without an allowlist. A compromised worker can set sort_casting to exec and place Python source in affected_items, causing the master to execute the payload as root when responses from multiple nodes are merged. This issue is fixed in versions 4.14.6 and 5.0.0-beta2."
    },
    {
      "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 4.0.0 hasta 4.14.6 y 5.0.0-beta2, AffectedItemsWazuhResult.merge() en framework/wazuh/core/results.py confía en el campo sort_casting en la respuesta JSON de un worker de clúster. Durante una fusión de API distribuida, los nombres de tipo controlados por el atacante se resuelven a través de builtins de Python sin una lista de permitidos. Un worker comprometido puede establecer sort_casting en exec y colocar código fuente de Python en affected_items, haciendo que el maestro ejecute la carga útil como root cuando se fusionan las respuestas de múltiples nodos. Este problema está solucionado en las versiones 4.14.6 y 5.0.0-beta2."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "wazuh",
          "product": "wazuh",
          "versions": [
            {
              "version": ">= 4.0.0, < 4.14.6",
              "status": "affected"
            },
            {
              "version": ">= 5.0.0-beta1, < 5.0.0-beta2",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
          "baseScore": 8.4,
          "baseSeverity": "HIGH",
          "attackVector": "ADJACENT_NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "HIGH",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.7,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-19T17:50:02.519004Z",
          "id": "CVE-2026-44901",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-502"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.0.0",
              "versionEndExcluding": "4.14.6",
              "matchCriteriaId": "E34130E3-89D7-4413-B1F0-0434248CD325"
            },
            {
              "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/b29849f8abb08d78f257e6106b6111a8a1b0e621",
      "source": "[email protected]",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/pull/35757",
      "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-beta2",
      "source": "[email protected]",
      "tags": [
        "Patch",
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-8c6v-7g3w-prrq",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ]
    },
    {
      "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-8c6v-7g3w-prrq",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ]
    }
  ]
}