SecurityContext

CVE-2026-48162: Wazuh - Path Traversal & Privilege Escalation

  • Cve: CVE-2026-48162
  • Name: Wazuh - Path Traversal & Privilege Escalation
  • 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, DistributedAPI.send_tmp_file() in framework/wazuh/core/cluster/dapi/dapi.py joins an attacker-controlled tmp_file value to WAZUH_PATH without canonicalization or confinement. A cluster peer holding the shared Fernet key can use traversal or an absolute path to make the master return any readable file over the cluster channel. Reading /var/ossec/api/configuration/security/private_key.pem allows the peer to forge administrator REST API tokens offline and then exercise administrative privileges without creating an account. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.
  • Impact: Cluster peers can read sensitive files and forge administrator API tokens, leading to full administrative control without account creation.
  • Remediation: Update to versions 4.14.6 or 5.0.0-beta3 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure, privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker must be a cluster peer holding the 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.00651
  • Epss percentile: 0.52161
  • 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-48162
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-73External Control of File Name or Path

Public exploits

UrlSourceAdded date
https://github.com/wazuh/wazuh/security/advisories/GHSA-r6f5-h662-8ffcnvd2026-08-19

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/wazuh/wazuh/commit/de1eeedbe336744934be4e20d87d84a76e438ceePatch
https://github.com/wazuh/wazuh/pull/36246Issue Tracking, Patch
https://github.com/wazuh/wazuh/releases/tag/v4.14.6Patch, Release Notes
https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta3Patch, Release Notes
https://github.com/wazuh/wazuh/security/advisories/GHSA-r6f5-h662-8ffcExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wazuh:wazuh= 5.0.0 beta1; = 5.0.0 beta2; >= 4.0.0, < 4.14.6nonvd/v1/products/wazuh/wazuh

Projects

RepositoryLink kindsIndexedUrl
wazuh/wazuhcommit, fix, pull, releases, security_advisoryyes/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