Path traversal in Wazuh wazuh-manager enables arbitrary file disclosure

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-93347?

CVE-2026-93347 is a vulnerability classified as Improper Limitation of a Pathname to a Restricted Directory, affecting wazuh-manager (affected versions: 4.1.1 – < 4.14.8). This vulnerability is rated Medium, with a CVSS score of 6.9. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

Wazuh from 4.1.1 before 4.14.8 contains a path traversal vulnerability in the get_list_file helper that allows malicious cluster workers to read arbitrary files via unvalidated filename values. Attackers holding the cluster key can send DistributedAPI requests with traversal filenames to read client.keys, ossec.conf with the cluster key, and other wazuh-readable files.

Affected products and scope

  • wazuh-manager from 4.1.1 through before 4.14.8 is marked affected.
  • The vendor advisory lists 4.14.8 as the patched release, and the release notes describe added source-path validation for CDB list-file retrieval.
  • Parallel branches or releases after 4.14.8 are not separately enumerated in this record. Their status should not be inferred without vendor confirmation.

Technical details

The flaw is in the get_list_file helper in the wazuh.cdb_list module, where a caller-supplied filename value is used to construct a file path. When a traversal name does not match a file during the recursive lookup, the resulting logic can retain the default path formed from USER_LISTS_PATH and the filename, after which get_list_from_file opens the file without confirming that the resolved path remains inside the restricted directory.

The helper is reachable through the cluster-callable path via as_wazuh_object and DistributedAPI, bypassing the REST controller's filename validation. A malicious or compromised cluster worker holding the cluster key can send a DistributedAPI request with a traversal filename and cause the manager to read the requested file. The read occurs as the wazuh user, so access is limited by the files that account can read. The confirmed fix adds containment validation for the resolved path; the available evidence does not show that this vulnerability directly permits file modification or affects availability.

Exploitability

The vulnerability is reachable through the cluster transport and does not require user interaction. The attacker must control a malicious or compromised cluster worker and possess the cluster key, making this a high-trust or high-privilege condition within the cluster trust model.

The record marks a public exploit as available, and the Wazuh advisory includes a proof of concept for the file-read primitive in an isolated lab. The advisory states that the published proof of concept is not a weaponized, network-delivered PoC. That disclosure detail does not establish whether the vulnerability has been exploited in real-world attacks.

Technical impact

When the cluster-key precondition is met, an attacker can cause the manager to read arbitrary files as the wazuh user through the cluster-callable path. The primary technical outcome is loss of confidentiality, including possible disclosure of agent authentication keys, the cluster key, API secrets, and other files readable by that account.

Disclosure of the cluster key or related credentials may require secret rotation and investigation of subsequent cluster activity, but the record does not confirm a broader compromise chain. The vulnerability has not been demonstrated to provide integrity or availability impact. Its file access is also limited by the actual read permissions of the wazuh account on the manager.

Business impact

The vulnerability can expose the confidentiality of files readable by the wazuh account on a manager. The advisory specifically identifies client.keys, ossec.conf containing the cluster key, API secrets, and other Wazuh-readable files as possible targets.

If these credentials are exposed, the cluster trust boundary may be weakened and the organization may need to investigate, revoke, or reissue related secrets. The sources do not establish a specific downstream compromise chain after credential disclosure. The demonstrated primitive is file read; the consulted evidence does not show direct file modification or service disruption.

Remediation

  1. Upgrade affected wazuh-manager deployments to the vendor-fixed release 4.14.8. Do not assume that every later or parallel release branch is covered unless the vendor confirms that branch explicitly.
  2. Prioritize managers participating in clusters and review every worker that may have become untrusted or may have exposed the cluster key.
  3. If traversal requests or unusual file reads are suspected, treat client.keys, ossec.conf, the cluster key, API secrets, and other credentials as potentially exposed. Rotate or reissue them according to the organization's secret-management process.
  4. The consulted materials document a code fix and do not provide a separate configuration mitigation. Cluster access controls may reduce who can reach the vulnerable path, but they do not replace applying the fix.

Detection

  1. Inventory all wazuh-manager deployments, especially managers participating in clusters, and compare installed versions with the affected and patched boundaries listed in affected_summary.
  2. Identify cluster-enabled nodes, review how cluster keys are distributed and protected, and prioritize workers that are no longer trusted.
  3. Review available cluster transport or DistributedAPI telemetry for calls to get_list_file or the lists:read resource using filenames containing traversal sequences or absolute paths. This is precautionary monitoring, not a vendor-confirmed IOC.
  4. Review file-audit or process telemetry for unusual reads performed by the wazuh account involving client.keys, ossec.conf, API secrets, or files outside the lists directory around relevant cluster activity.
  5. Do not treat the absence of matching log data as proof of safety, because the advisory does not define a mandatory log event or IOC for every exploitation attempt.
Sources (12)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.