CVE-2026-54083CWE-22path-traversal

CVE-2026-54083

High · published August 28, 2026

CVSS v3.1
8.1
EPSS
1%
Percentile
46.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00568 · 46.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-08-28T04:18Z
Affected products (4)
ProductVersionsFixed in
wazuh/wazuh≥ 4.2.0, < 4.14.74.14.7
wazuh/wazuhall versions—
wazuh/wazuhall versions—
wazuh/wazuhall versions—
References (2)
EPSS history
Timeline
  • 27 AUG 22:45Z
    Wazuh: Path traversal in ip-customblock active response allows arbitrary file creation and deletion
    cvelistv5