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 package | Versions | Reported by |
|---|---|---|
| Wazuh wazuh-manager | from 4.0.0 before 4.14.6 | CVE List |
| wazuh wazuh | from 4.0.0 before 4.14.6 | NVD |
All scores
| VulnCheck | 7.0high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
Classification
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
| https://github.com/wazuh/wazuh/security/advisories/GHSA-573w-mqw4-jvmr | exploit, mitigation, vendor-advisory | |
| https://github.com/wazuh/wazuh/pull/35833 | issue-tracking, patch | |
| https://www.vulncheck.com/advisories/wazuh-path-traversal-dos-via-agent-enrollment | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74038 changed 2026-10-01 | CVE Terms of Use |
| NVD | CVE-2026-74038 changed 2026-10-22 | Public domain |