LiveActive security incident?Get immediate response
CVE Record

CVE-2026-48162: Wazuh: cluster peer can read arbitrary master files and forge offline REST API administrator tokens via DAPI tmp_file path injection in Wazuh manager

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.

CriticalCVSS 9.1Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

A malicious or compromised Wazuh cluster node can trick the master into returning readable files. If it obtains the API signing key, it can create administrator tokens and control Wazuh through its REST API. The evidence does not describe exploitation by unauthenticated outsiders; the attacker must be a cluster peer holding the shared Fernet key.

Executive priority

Prioritize immediate remediation for affected Wazuh clusters, especially where peer integrity or key custody is uncertain. Because Wazuh is a security-management platform, forged administrator access could undermine monitoring and response operations. Upgrade promptly and initiate incident investigation if any cluster peer or shared key may have been compromised.

Technical view

DistributedAPI.send_tmp_file joins a peer-controlled tmp_file value to WAZUH_PATH without canonicalization or confinement. Traversal or absolute paths can disclose readable master files over the cluster channel. Disclosure of private_key.pem enables offline administrator-token forgery. Cluster-peer access and possession of the shared Fernet key are prerequisites.

Likely exposure

Exposure applies to clustered Wazuh managers running 4.0.0 through 4.14.5, or 5.0.0-beta1 through beta2. Risk is highest where a cluster peer or shared Fernet key could be compromised. The supplied evidence does not establish that standalone deployments or internet exposure alone are sufficient.

Exploitation context

The CVE is not listed as KEV, and the supplied sources do not report active exploitation. Exploitation is low complexity after obtaining the high-privilege prerequisite: control of a cluster peer holding the shared Fernet key. Successful abuse can cross the cluster-to-API trust boundary and provide administrator privileges.

Researcher notes

This is CWE-73: external control of a file name or path. CVSS 3.1 is 9.1, with network reachability, low complexity, high privileges required, changed scope, and high confidentiality, integrity, and availability impacts. The supplied bundle provides patch and release references but no public proof-of-concept or observed exploitation evidence.

Mitigation direction

  • Upgrade affected 4.x managers to Wazuh 4.14.6 or a later fixed release.
  • Upgrade affected 5.0 beta managers to Wazuh 5.0.0-beta3 or a later fixed release.
  • Restrict cluster membership and protect the shared Fernet key from unauthorized access.
  • If compromise is suspected, treat cluster and API signing keys as exposed and follow Wazuh guidance for safe rotation.

Validation and detection

  • Inventory Wazuh manager versions and flag 4.0.0–4.14.5 or 5.0.0-beta1–beta2.
  • Verify every joined cluster peer is authorized and the shared Fernet key has not been exposed.
  • Confirm all cluster managers run a fixed release before considering remediation complete.
  • Where telemetry exists, investigate unexpected master-file transfers and unexplained administrator REST API activity.
  • Treat private_key.pem as potentially disclosed if suspicious peer activity is identified.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-73: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-48162 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.1CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H2.36GitHub_M

Vulnerability scoring details

Base CVSS 3.1 score

9.1Critical
CVSS 3.1 vector shape for CVE-2026-48162Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
wazuhwazuh>= 4.0.0, < 4.14.6, >= 5.0.0-beta1, < 5.0.0-beta3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-73 · source CWE mapping

External Control of File Name or Path

External Control of File Name or Path represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.