{"id":"CVE-2026-74034","summary":"Wazuh 4.1.0 before 4.14.8 Arbitrary File Read via upgrade_custom Command","details":"Wazuh from 4.1.0 before 4.14.8 contains a missing origin check in wm_agent_upgrade that allows enrolled agents to issue upgrade_custom commands with attacker-controlled file_path. Attackers can inject an upgrade_custom message over the agent channel to read arbitrary files as root, exfiltrating /etc/shadow and client.keys.","aliases":["GHSA-r7hm-43xr-477j"],"modified":"2026-10-15T02:47:50.514202988Z","published":"2026-10-13T13:27:28.086Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74034.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-862"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74034.json"},{"type":"ADVISORY","url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-r7hm-43xr-477j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74034"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/wazuh-4.1.0-before-4.14.8-arbitrary-file-read-via-upgrade-custom-command"},{"type":"FIX","url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.8"},{"type":"PACKAGE","url":"https://github.com/wazuh/wazuh"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wazuh/wazuh","events":[{"introduced":"7ceed61be3ebaeebc8e2e1087bdb9629ac4cf6c4"},{"fixed":"f470ad7db717b18db7feeed568949643698f0f34"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"4.1.0"},{"fixed":"4.14.8"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74034.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}