Skip to content
Heist/ feed
Back to feed
Critical

Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker

Type: advisorySources: Official CVE List

Wazuh versions from 3.9.0 before 4.14.8 contain an arbitrary file overwrite vulnerability in MasterHandler.process_files_from_worker allowing a cluster worker to overwrite protected master files. Attackers controlling a worker can use a trailing-slash basename bypass and missing extra_valid enforcement to overwrite ossec.conf and agent.conf, achieving root remote code execution across the manager and every agent.

Products
wazuh-manager
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-74040
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 10:25 UTC · Revision 2

Source evidence

Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker

core-cve · Original source

Published 13 Oct 2026, 13:27 UTC

Wazuh versions from 3.9.0 before 4.14.8 contain an arbitrary file overwrite vulnerability in MasterHandler.process_files_from_worker allowing a cluster worker to overwrite protected master files. Attackers controlling a worker can use a trailing-slash basename bypass and missing extra_valid enforcement to overwrite ossec.conf and agent.conf, achieving root remote code execution across the manager and every agent.

cve:CVE-2026-74040

wazuh-manager

Fixed versions: Not specified

Complete source record
{
  "id": "d6529595a06fa54da455b99f65e6fa18761d84b7cb29741a96c9cdf95a49391b",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-74040",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker",
    "summary": "Wazuh versions from 3.9.0 before 4.14.8 contain an arbitrary file overwrite vulnerability in MasterHandler.process_files_from_worker allowing a cluster worker to overwrite protected master files. Attackers controlling a worker can use a trailing-slash basename bypass and missing extra_valid enforcement to overwrite ossec.conf and agent.conf, achieving root remote code execution across the manager and every agent.",
    "evidence": "cve:CVE-2026-74040",
    "products": [
      {
        "name": {
          "value": "wazuh-manager",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-74040",
      "aliases": [
        "CVE-2026-74040"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 9.4,
            "attackVector": "NETWORK",
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "HIGH",
            "subIntegrityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH",
            "subAvailabilityImpact": "HIGH",
            "vulnAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "HIGH",
            "vulnConfidentialityImpact": "HIGH"
          }
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "CHANGED",
            "version": "3.1",
            "baseScore": 9.1,
            "attackVector": "NETWORK",
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
            "integrityImpact": "HIGH",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "confidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "repo": "https://github.com/wazuh/wazuh",
          "vendor": "Wazuh",
          "product": "wazuh-manager",
          "versions": [
            {
              "status": "affected",
              "version": "3.9.0",
              "lessThan": "4.14.8",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "4.14.8",
              "versionType": "semver"
            }
          ],
          "packageURL": "pkg:github/wazuh/wazuh",
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-26T14:15:48.059Z",
      "provider": "cve",
      "references": [
        "https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8",
        "https://github.com/wazuh/wazuh/releases/tag/v4.14.8",
        "https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-74040",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-16T21:53:07.447925Z"
                  }
                }
              }
            ],
            "references": [
              {
                "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8",
                "tags": [
                  "exploit"
                ]
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-16T21:53:48.974Z"
            }
          }
        ],
        "cna": {
          "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
          "shortName": "VulnCheck",
          "dateUpdated": "2026-10-26T14:15:48.059Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74040",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 311561,
  "published_at": "2026-10-13T13:27:30.557+00:00"
}