{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-74040",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-08-14T14:06:40.512Z",
        "datePublished": "2026-10-13T13:27:30.557Z",
        "dateUpdated": "2026-10-26T14:15:48.059Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-10-26T14:15:48.059Z"
            },
            "datePublic": "2026-10-13T00:00:00.000Z",
            "title": "Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Missing Authorization",
                            "cweId": "CWE-862",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Wazuh",
                    "product": "wazuh-manager",
                    "packageURL": "pkg:github/wazuh/wazuh",
                    "repo": "https://github.com/wazuh/wazuh",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "3.9.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "4.14.8"
                        },
                        {
                            "version": "4.14.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.9.0",
                                    "versionEndExcluding": "4.14.8"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "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",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "HIGH",
                        "subIntegrityImpact": "HIGH",
                        "subAvailabilityImpact": "HIGH",
                        "baseScore": 9.4,
                        "baseSeverity": "CRITICAL"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9.1,
                        "baseSeverity": "CRITICAL"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-88p6-7cm8-xwj8)"
                },
                {
                    "url": "https://github.com/wazuh/wazuh/releases/tag/v4.14.8",
                    "name": "Wazuh v4.14.8 Release Notes",
                    "tags": [
                        "patch",
                        "release-notes"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: Wazuh 3.9.0 before 4.14.8 Arbitrary File Overwrite RCE via process_files_from_worker",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/wazuh-3.9.0-before-4.14.8-arbitrary-file-overwrite-rce-via-process-files-from-worker"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "TarPeg007",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "vikman90",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-88p6-7cm8-xwj8",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-10-16T21:53:07.447925Z",
                                "id": "CVE-2026-74040",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-10-16T21:53:48.974Z"
                }
            }
        ]
    }
}