CVE-2026-74038
Received Received - Intake

Path Traversal in Wazuh Agent Enrollment

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

Publication date: 2026-08-18

Last updated on: 2026-08-18

Assigner: VulnCheck

Description

Wazuh 4.0.0 before 4.14.6 contains a path traversal vulnerability that allows unauthenticated remote attackers to cause denial of service by enrolling an agent with a dot-sequence name such as ".." through the enrollment port. Attackers exploit insufficient validation in OS_IsValidName() and unsafe path concatenation in delete_diff() to resolve the traversal to the parent queue directory, causing its subdirectories to be removed and stopping all Wazuh services requiring manual recovery.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-18
Last Modified
2026-08-18
Generated
2026-08-18
AI Q&A
2026-08-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wazuh wazuh to 4.14.6 (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 is a path traversal vulnerability in Wazuh versions 4.0.0 to 4.14.5. It allows unauthenticated remote attackers to cause a denial of service by enrolling an agent with a name containing path traversal sequences like '..'. The flaw stems from insufficient validation in OS_IsValidName() and unsafe path handling in delete_diff(), enabling attackers to traverse to the parent queue directory and delete critical subdirectories. This disrupts all Wazuh services, requiring manual recovery.

Detection Guidance

Check Wazuh Manager logs for agent enrollment attempts with suspicious names containing '..' or starting with a dot. Monitor for unexpected directory deletions in /var/ossec/queue/ or subdirectories. Verify OS_IsValidName() function behavior by testing agent name validation with edge cases like '..' or '.test'.

Impact Analysis

If exploited, this vulnerability can cause a complete denial of service for Wazuh services. Attackers can delete critical directories, stopping all Wazuh operations. This requires manual intervention to restore functionality, potentially leading to extended downtime and loss of security monitoring capabilities.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by disrupting Wazuh services, which are often used for security monitoring and logging in regulated environments. A denial of service could lead to loss of audit trails or security event tracking, violating data integrity and availability requirements under these regulations.

Mitigation Strategies

Upgrade Wazuh Manager to version 4.14.6 or later to apply the patched OS_IsValidName() function. Block external agent enrollment requests at the network perimeter if not required. Review and remove any agents with suspicious names like '..' or starting with a dot. Monitor system logs for signs of exploitation attempts.

Chat Assistant

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

EPSS Chart