{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.14.7"
              },
              {
                "introduced": "5.0.0-beta2"
              },
              {
                "last_affected": "5.0.0-beta2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "8c2c62a6e9dcbcf2c792f7924e8cfdb26842820b"
            },
            {
              "fixed": "a42268a27c555d9348d5598fb8751eaf4c8e9024"
            },
            {
              "introduced": "b58b3b2552497639b1b2a2b23e8de87e4ce9cf02"
            },
            {
              "last_affected": "b58b3b2552497639b1b2a2b23e8de87e4ce9cf02"
            }
          ],
          "repo": "https://github.com/wazuh/wazuh",
          "type": "GIT"
        }
      ],
      "versions": [
        "5.0.0-beta2"
      ]
    }
  ],
  "aliases": [
    "GHSA-5vh8-34r8-q74q"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1333",
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74039.json"
  },
  "details": "Wazuh 4.0.0 before 4.14.7 and 5.0.0-beta2 contain a denial of service vulnerability that allows authenticated attackers with allow_run_as enabled to exhaust CPU resources by submitting arbitrarily deeply nested JSON structures to the POST /security/user/authenticate/run_as endpoint. Attackers can repeatedly submit malformed auth_context bodies with unlimited nesting depth to cause the API framework to consume excessive CPU, denying service to all other API consumers.",
  "id": "CVE-2026-74039",
  "modified": "2026-08-20T03:30:10.570862270Z",
  "published": "2026-08-18T17:26:12.871Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74039.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/wazuh/wazuh/security/advisories/GHSA-5vh8-34r8-q74q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74039"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/wazuh-api-dos-via-deeply-nested-json-auth-context"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wazuh/wazuh/pull/37034"
    },
    {
      "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:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Wazuh 4.0.0 \u003c 4.14.7 API DoS via Deeply Nested JSON auth_context"
}