CVE-2026-54083
Analyzed Analyzed - Analysis Complete

Path Traversal in Wazuh ip-customblock Active Response Script

Vulnerability report for CVE-2026-54083, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-28

Last updated on: 2026-09-15

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-28
Last Modified
2026-09-15
Generated
2026-09-17
AI Q&A
2026-08-28
EPSS Evaluated
2026-09-15
NVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
wazuh wazuh 5.0.0
wazuh wazuh 5.0.0
wazuh wazuh 5.0.0
wazuh wazuh From 4.2.0 (inc) to 4.14.7 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal flaw in the Wazuh agent software's ip-customblock active response script. It allows an attacker to manipulate the srcip field in alert JSON data to create or delete arbitrary files on the filesystem as root. The script builds file paths by directly concatenating the unvalidated srcip value to a base directory without proper validation.

Detection Guidance

Check if the Wazuh agent version is below 4.14.7. Inspect the ip-customblock active response script for path traversal attempts in logs. Look for unusual file creation or deletion events in system logs, especially under /ipblock/ or other sensitive directories.

Impact Analysis

An attacker could exploit this to create empty files that disrupt services relying on file existence checks or delete critical system files like /etc/shadow, /root/.ssh/authorized_keys, or Wazuh configuration files. Since the active response daemon runs as root, the impact is severe and could lead to system compromise or denial of service.

Compliance Impact

This vulnerability could lead to unauthorized file creation or deletion on systems running affected Wazuh versions, potentially compromising data integrity and availability. For GDPR, this may result in unauthorized access or loss of personal data, violating principles of integrity and confidentiality. Under HIPAA, such breaches could expose protected health information, leading to compliance violations and legal penalties.

Mitigation Strategies

Upgrade Wazuh to version 4.14.7 or later. Disable the ip-customblock active response script if not required. Review and restrict root privileges for active response daemons. Monitor for suspicious file operations in real-time.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54083. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart