Skip to main content

Wazuh CVE-2026-54083

HIGH
Path Traversal (CWE-22)
2026-08-27 GitHub_M
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain access to monitored log source or agent
  2. Delivery
    Craft log event with srcip containing ../ sequences
  3. Exploit
    Trigger Wazuh alert matching ip-customblock rule
  4. Execution
    Active response daemon resolves traversal path as root
  5. Persist
    Create or delete arbitrary file on manager host
  6. Impact
    Disrupt authentication, configuration, or establish persistence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The ip-customblock active response must be explicitly configured and enabled in Wazuh - it is not active by default, and deployments using only the sibling scripts (host-deny, default-firewall-drop, firewalld-drop) are not affected. An attacker must be able to inject a crafted srcip value into an alert-triggering log event; this requires one of: write access to a log source monitored by Wazuh, control over a Wazuh agent on a monitored host, or the ability to generate network traffic parsed by a Wazuh rule that exposes the srcip field. The CVSS PR:L metric reflects this requirement for low-level privileged access to the monitored environment. Exploitation is limited to Linux/Unix hosts running the Wazuh manager with ip-customblock configured; the impact is bounded to the manager host's filesystem, not agent hosts.

Impact

CVSS 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H) is well-supported by the description: network vector is accurate because alert srcip values originate from remotely sourced log events; PR:L correctly reflects that some foothold - control over a monitored log source, a Wazuh agent, or a log pipeline - is required to inject crafted srcip values; no confidentiality impact aligns with file creation/deletion rather than data exfiltration. The absence of scope change (S:U) is accurate as impact stays on the Wazuh host. Real-world risk is meaningfully gated by the deployment condition: ip-customblock must be explicitly configured as an active response, which is non-default. Environments that have deployed it are directly threatened, since a compromised monitored endpoint is a realistic and common attacker position. No EPSS data was provided and no KEV listing exists, so exploitation probability cannot be quantified; however, the missing validation is straightforward enough that POC development is low-effort for any researcher comparing ip-customblock.c against its sibling scripts. The combination of root-level execution, file deletion capability targeting credentials and configuration, and a clear, narrow fix makes this a genuine remediation priority for any Wazuh deployment using ip-customblock.

Exploit ScenarioDerived

An attacker with control over a Wazuh-monitored endpoint or its log pipeline crafts a log event that triggers an ip-customblock rule, setting the srcip field to a traversal string such as ../../etc/cron.d/evil. When Wazuh fires the active response, the daemon constructs the path /ipblock/../../etc/cron.d/evil, resolving to /etc/cron.d/evil, and opens it in append mode as root - creating a foothold for scheduled execution. Alternatively, using the unblock action with srcip set to ../../etc/passwd, the attacker causes remove() to delete /etc/passwd as root, disrupting authentication across the entire host. No public proof-of-concept exploit has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or delete arbitrary files as root by injecting directory traversal sequences into the srcip field of alert-triggering log events. Versions prior to 4.14.7 are affected when ip-customblock is configured as an active response - the block action creates an empty file at an attacker-controlled path, while the unblock action deletes it, both executing as root and enabling destruction of credentials, configuration, or other critical files. No public exploit has been identified at time of analysis, and this CVE is not listed in the CISA KEV catalog, though the missing validation is trivially observable by comparing ip-customblock.c against its sibling scripts.

RemediationAI

Upgrade Wazuh to version 4.14.7 or later, which resolves the issue by inserting a get_ip_version() validation call that rejects any srcip value that is not a well-formed IP address before path construction proceeds. The fix commit is at https://github.com/wazuh/wazuh/commit/e6ef99025b2ca4ba8003efb591c51545006bc2d4 and the vendor advisory is at https://github.com/wazuh/wazuh/security/advisories/GHSA-m4mf-qmhf-8vj6. If immediate upgrade is not possible, disable the ip-customblock active response in Wazuh configuration - the trade-off is loss of the custom IP blocking capability for the associated alert rules, which must be accepted or covered by an alternative blocking mechanism. As a secondary compensating control, restrict which agents and log sources can trigger active responses, reducing the set of principals capable of injecting crafted srcip values; this narrows but does not eliminate the attack surface.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Wazuh's active response framework executes C scripts when alert conditions are met. The vulnerable script ip-customblock.c reads the srcip field from incoming alert JSON and concatenates it directly onto the hardcoded base path /ipblock/ to construct a file path, then opens that path in append mode (block action) or passes it to remove() (unblock action). Unlike the sibling scripts host-deny.c, default-firewall-drop.c, and firewalld-drop.c - which all call get_ip_version() to validate that srcip is a well-formed IP address before use - ip-customblock.c omitted this check entirely, leaving the raw string unchecked. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The fix in commit e6ef99025b2ca4ba8003efb591c51545006bc2d4 inserts the identical get_ip_version() guard and returns OS_INVALID on non-IP input. The active response daemon runs as root, so the accessible filesystem scope is unrestricted. Affected CPE: cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*.

Know when Wazuh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

Network vector applies as crafted srcip values arrive via remote log events; PR:L reflects required log pipeline or agent access; C:N because only file creation and deletion occur, not data disclosure.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Wazuh versions before 4.14.7 contain a path traversal vulnerability in the ip-customblock active response script that allows remote attackers to create or delete arbitrary files with root privileges. This affects organizations using Wazuh for security monitoring and incident response, potentially enabling attackers to destroy credentials, tamper with security configurations, or disable monitoring capabilities entirely.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
open-source SIEM/XDR with significant but not universal enterprise adoption
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

CVE-2026-46343 HIGH POC
7.5 Aug 19

Arbitrary file deletion on a Wazuh manager via the cluster synchronization protocol allows a cluster-authenticated attac

CVE-2024-1243 HIGH POC
7.2 Jun 11

CVE-2024-1243 is an improper input validation vulnerability in Wazuh agent for Windows (versions prior to 4.8.0) that al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy