CVE-2026-48024: Wazuh - Path Traversal & Remote Code Execution
- Cve: CVE-2026-48024
- Name: Wazuh - Path Traversal & Remote Code Execution
- Description: Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.6 and 5.0.0-beta3, cluster.unmerge_info() in framework/wazuh/core/cluster/cluster.py constructs paths from peer-controlled merge_type and name values in a merged synchronization archive. process_files_from_worker() in framework/wazuh/core/cluster/master.py does not adequately confine the resulting path to the declared cluster item directory. A cluster peer holding the shared Fernet key can use traversal in files_metadata.json or a merged-file header to write files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution when Wazuh services reload. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.
- Impact: Cluster peers with shared key can overwrite critical files, leading to root-level code execution on service reload.
- Remediation: Update to versions 4.14.6 or 5.0.0-beta3 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be a cluster peer with shared Fernet key
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00781
- Epss percentile: 0.56888
- Assignee: [email protected]
- Published at: 2026-08-19T17:18:51Z
- Age in days: 97
- Modified at: 2026-10-26T11:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-48024
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/wazuh/wazuh/security/advisories/GHSA-gh4h-fx78-q8xc | nvd | 2026-08-19 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/wazuh/wazuh/commit/88fc89fdfb1bf37b9d826e9c281a3d22655733de | Patch |
| https://github.com/wazuh/wazuh/pull/36204 | Issue Tracking, Patch |
| https://github.com/wazuh/wazuh/releases/tag/v4.14.6 | Patch, Release Notes |
| https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3 | Patch, Release Notes |
| https://github.com/wazuh/wazuh/security/advisories/GHSA-gh4h-fx78-q8xc | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wazuh:wazuh | = 5.0.0 beta1; = 5.0.0 beta2; >= 4.0.0, < 4.14.6 | no | nvd | /v1/products/wazuh/wazuh |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wazuh/wazuh | commit, fix, pull, releases, security_advisory | yes | /v1/repositories/wazuh/wazuh |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-08-19
- Remote: yes
- Authentication required: yes
- Exposed hosts: 7218
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports