---
id: CVE-2026-74031
title: >-
  Wazuh from 4.1.1 before 4.14.8 contains a path traversal vulnerability in the
  delete_rule_file and delete_decoder_file helpers that allows malicious cluster
  workers to delete arbitrary files via an unvalidated filename parameter
summary: >-
  Wazuh from 4.1.1 before 4.14.8 contains a path traversal vulnerability in the
  delete_rule_file and delete_decoder_file helpers that allows malicious cluster
  workers to delete arbitrary files via an unvalidated filename parameter.
  Attacke…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-22
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T14:17:39.633'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74031'
references:
  - url: 'https://github.com/wazuh/wazuh/releases/tag/v4.14.8'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/wazuh/wazuh/security/advisories/GHSA-w4qc-m4j4-6m9c'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/wazuh-4.1.1-before-4.14.8-path-traversal-file-deletion-via-rule-decoder-delete-helpers
    label: disclosure@vulncheck.com
  - url: 'https://github.com/wazuh/wazuh/security/advisories/GHSA-w4qc-m4j4-6m9c'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
ingestedAt: '2026-10-13T14:29:01.859Z'
---

## Overview

Wazuh from 4.1.1 before 4.14.8 contains a path traversal vulnerability in the delete_rule_file and delete_decoder_file helpers that allows malicious cluster workers to delete arbitrary files via an unvalidated filename parameter. Attackers holding the cluster key can invoke these helpers through DistributedAPI with traversal sequences to delete ossec.conf, client.keys, or rules as the wazuh user.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
