CVE-2026-74038
JSON

7.0high

Wazuh 4.0.0 < 4.14.6 Path Traversal DoS via Agent Enrollment

Severity
7.0high CVSS:4.0 by VulnCheck
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
Wazuh wazuh-managerfrom 4.0.0 before 4.14.6CVE List
wazuh wazuhfrom 4.0.0 before 4.14.6NVD

All scores

VulnCheck7.0high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Wazuh 4.0.0 anterior a 4.14.6 contiene una vulnerabilidad de salto de ruta que permite a atacantes remotos no autenticados causar denegación de servicio al registrar un agente con un nombre de secuencia de puntos como ’..’ a través del puerto de registro. Los atacantes explotan la validación insuficiente en OS_IsValidName() y la concatenación de rutas insegura en delete_diff() para resolver el salto al directorio de cola padre, lo que provoca la eliminación de sus subdirectorios y la detención de todos los servicios de Wazuh, lo que requiere recuperación manual.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74038 changed 2026-10-01CVE Terms of Use
NVDCVE-2026-74038 changed 2026-10-22Public domain