{"id":"CVE-2026-74038","summary":"Wazuh 4.0.0 \u003c 4.14.6 Path Traversal DoS via Agent Enrollment","details":"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.","aliases":["GHSA-573w-mqw4-jvmr"],"modified":"2026-09-10T03:30:52.493171046Z","published":"2026-08-18T17:25:08.465Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74038.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74038.json"},{"type":"ADVISORY","url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-573w-mqw4-jvmr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74038"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/wazuh-path-traversal-dos-via-agent-enrollment"},{"type":"FIX","url":"https://github.com/wazuh/wazuh/pull/35833"},{"type":"PACKAGE","url":"https://github.com/wazuh/wazuh"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wazuh/wazuh","events":[{"introduced":"8c2c62a6e9dcbcf2c792f7924e8cfdb26842820b"},{"fixed":"44c2925b46bd058d2426bd44ed1b3e5d7b7b03b4"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.14.6"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74038.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}