Wazuh: Path traversal in ip-customblock active response allows arbitrary file creation and deletion
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. The ip-customblock active response script contains a path traversal vulnerability that lets an attacker create or delete arbitrary files on the filesystem as root. The script builds a file path by concatenating the srcip field taken from alert JSON directly onto the fixed /ipblock/ base directory, without validating that the value is a well-formed IP address. Because the extraction routine returns the raw string unchecked, an attacker who can trigger alert-matching log events with a crafted srcip containing ../ sequences can escape the base directory. The block action opens the resulting path in append mode, creating an empty file at an arbitrary location, while the unblock action passes it to remove(), deleting an arbitrary file; since the active response daemon runs as root, this includes sensitive files such as system credentials and Wazuh configuration. Unlike the sibling scripts host-deny.c, default-firewall-drop.c, and firewalld-drop.c, which reject non-IP input via get_ip_version(), ip-customblock.c omits this validation. This issue is fixed in version 4.14.7.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Wazuh | wazuh | 4.2.0 to before 4.14.7; 5.0.0-alpha0 to before 5.0.0-beta3 | 4.14.7, 5.0.0-beta3 | Patch available | CNA |
- wazuh VendorWazuh Affected 4.2.0 to before 4.14.7; 5.0.0-alpha0 to before 5.0.0-beta3 Fixed in 4.14.7, 5.0.0-beta3 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:* | 4.2.0 to before 4.14.7 | Vulnerable | Wazuh |
| cpe:2.3:a:wazuh:wazuh:5.0.0:alpha0:*:*:*:*:*:* | 5.0.0 alpha0 | Vulnerable | Wazuh |
| cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:* | 5.0.0 beta1 | Vulnerable | Wazuh |
| cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:* | 5.0.0 beta2 | Vulnerable | Wazuh |
- cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:* Versions 4.2.0 to before 4.14.7 Vulnerable ·Wazuh
- cpe:2.3:a:wazuh:wazuh:5.0.0:alpha0:*:*:*:*:*:* Versions 5.0.0 alpha0 Vulnerable ·Wazuh
- cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:* Versions 5.0.0 beta1 Vulnerable ·Wazuh
- cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:* Versions 5.0.0 beta2 Vulnerable ·Wazuh
Remediation
- Fix · CNA wazuh (wazuh) Fixed in 4.14.7, 5.0.0-beta3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54083
References
More Wazuh vulnerabilities
- TI-2025-17783 Remote code execution in Wazuh server KEVCVSS 3.1CRITICAL 9.9
- TI-2026-23722 Path traversal in wazuh CVSS 3.1CRITICAL 9.9
- TI-2024-01157 Remote code execution and local privilege escalation in Wazuh Windows agent via NetNTLMv2 hash theft CVSS 4.0CRITICAL 9.5
- TI-2026-22556 Wazuh: Pre-auth stack-based buffer overflow in wazuh-remoted print_hex_string() due to signed char promotion on x86_64 CVSS 3.1HIGH 8.2
- TI-2026-35598 Wazuh: cluster peer can read arbitrary master files and forge offline REST API… CVSS 3.1CRITICAL 9.1
- TI-2026-35467 Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under WAZUH_PATH in Wazuh manager CVSS 3.1CRITICAL 9.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences