CVE-2026-54083

Source
https://cve.org/CVERecord?id=CVE-2026-54083
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54083.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54083
Aliases
  • GHSA-m4mf-qmhf-8vj6
Published
2026-08-27T22:45:37.326Z
Modified
2026-08-30T08:17:19.949267Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Wazuh: Path traversal in ip-customblock active response allows arbitrary file creation and deletion
Details

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 getipversion(), ip-customblock.c omits this validation. This issue is fixed in version 4.14.7.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54083.json",
    "cwe_ids": [
        "CWE-22"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/wazuh/wazuh

Affected ranges

Type
GIT
Repo
https://github.com/wazuh/wazuh
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "4.2.0"
        },
        {
            "fixed": "4.14.7"
        },
        {
            "introduced": "5.0.0-alpha0"
        },
        {
            "fixed": "5.0.0-beta3"
        }
    ]
}

Affected versions

Other
issue-34476-fim-tests
v5.*
v5.0.0-alpha0
v5.0.0-beta1
v5.0.0-beta2

Database specific

vanir_signatures
[
    {
        "id": "CVE-2026-54083-0e08a250",
        "target": {
            "function": "main",
            "file": "src/active-response/ip-customblock.c"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "225040349668680481426186841607039414065",
            "length": 1774.0
        },
        "signature_version": "v1",
        "source": "https://github.com/wazuh/wazuh/commit/e6ef99025b2ca4ba8003efb591c51545006bc2d4",
        "signature_type": "Function"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54083.json"
vanir_signatures_modified
"2026-08-30T08:17:19Z"