Security mailing lists by PureSourceCode

CVE-2026-54083

HIGH 8.1CVSS 3.1

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.

Published
28 Aug 2026
Last modified
15 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD wazuh wazuh
cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.14.7 4.14.7
NVD wazuh wazuh
cpe:2.3:a:wazuh:wazuh:5.0.0:alpha0:*:*:*:*:*:*
= 5.0.0
NVD wazuh wazuh
cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*
= 5.0.0
NVD wazuh wazuh
cpe:2.3:a:wazuh:wazuh:5.0.0:beta2:*:*:*:*:*:*
= 5.0.0

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 28 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.