{
  "id": "CVE-2026-74040",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74040",
  "published_at": "2026-10-13T13:27:30.557Z",
  "title": "Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker",
  "vendor": "Wazuh",
  "product": "wazuh-manager",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-862",
  "cvss_by_source": {
    "cna": 9.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Wazuh",
        "product": "wazuh-manager",
        "ranges": [
          "\u003e= 3.9.0, \u003c 4.14.8"
        ],
        "fixed_in": [
          "4.14.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wazuh-manager to 4.14.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/wazuh/wazuh/releases/tag/v4.14.8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
