ZeroHour

CVE-2026-54083

PoC moderate

Path Traversal in Wazuh ip-customblock Active Response Enables Root File Create/Delete

CVSS 3.1
8.1 high
EPSS
<1%p26
Published
()
Modified
AI analysis

CVE-2026-54083 is a path traversal vulnerability (CWE-22, CVSS 3.1: 8.1 High) in the ip-customblock active response script of the open-source Wazuh XDR/SIEM platform. The script builds a file path by concatenating the srcip value taken from alert JSON directly onto the fixed /ipblock/ base directory without checking that it is a well-formed IP address, so an attacker who can cause log events that trigger matching alerts—supplying a crafted srcip containing ../ sequences—can escape the base directory. Because the active response daemon runs as root, the attacker gains the ability to create an arbitrary empty file (block action, via an append-mode open) or delete an arbitrary file (unblock action, via remove()), including sensitive files such as system credentials and Wazuh configuration; the CVSS vector reflects high integrity and availability impact with network access and low privileges required. Any Wazuh deployment running a version before 4.14.7 that has the ip-customblock active response configured is affected—the sibling scripts host-deny.c, default-firewall-drop.c, and firewalld-drop.c reject non-IP input via get_ip_version(), but ip-customblock.c omits that validation. No exploitation, public proof-of-concept, or CISA KEV listing is known, and EPSS currently estimates a 0.3% probability of exploitation within 30 days (26th percentile).

What to do: Upgrade to Wazuh 4.14.7 or later on any manager or agent where the ip-customblock active response is configured. As an interim mitigation, disable ip-customblock or switch to one of the sibling responses that validate srcip (host-deny, default-firewall-drop, or firewalld-drop), and audit which log sources can generate alert-matching events that invoke it.

Affected
Wazuh (ip-customblock active response script)prior to 4.14.7 (fixed in 4.14.7)
Estimated exposure
moderatelikely thousands of deployments (est.; subset of Wazuh's large open-source base that explicitly configures the non-default ip-customblock response) — Wazuh is among the most widely deployed open-source XDR/SIEM platforms, but ip-customblock is an optional custom active response rather than a default one, so only the fraction of deployments that explicitly configure it on managers or…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Vendors
wazuh
Products
wazuh
Weakness
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

In the news

No ingested article mentions this CVE yet.