CVE-2026-74040

Source
https://cve.org/CVERecord?id=CVE-2026-74040
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74040.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74040
Aliases
  • GHSA-88p6-7cm8-xwj8
Published
2026-10-13T13:27:30Z
Modified
2026-10-28T02:30:41Z
Severity
  • 9.4 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74040.json"
}
References

Affected packages

Git / github.com/wazuh/wazuh

Affected ranges

Type
GIT
Repo
https://github.com/wazuh/wazuh
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "3.9.0"
                },
                {
                    "fixed": "4.14.8"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "original_tag": "v4.14.8",
            "range": [
                {
                    "fixed": "f470ad7db717b18db7feeed568949643698f0f34"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "range": [
                {
                    "introduced": "3.9.0"
                },
                {
                    "fixed": "4.14.8"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74040.json"