{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.1.0"
              },
              {
                "fixed": "4.14.8"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "7ceed61be3ebaeebc8e2e1087bdb9629ac4cf6c4"
            },
            {
              "fixed": "f470ad7db717b18db7feeed568949643698f0f34"
            }
          ],
          "repo": "https://github.com/wazuh/wazuh",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r7hm-43xr-477j"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74034.json"
  },
  "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.",
  "id": "CVE-2026-74034",
  "modified": "2026-10-15T02:31:17.004926904Z",
  "published": "2026-10-13T13:27:28.086Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Wazuh 4.1.0 before 4.14.8 Arbitrary File Read via upgrade_custom Command"
}