{
  "id": "CVE-2026-40303",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40303",
  "published_at": "2026-04-17T21:01:51.899Z",
  "title": "zrok allows unauthenticated DoS via unbounded memory allocation in striped session cookie parsing",
  "vendor": "openziti",
  "product": "zrok",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "zrok is software for sharing web services, files, and network resources. Prior to version 2.0.1, endpoints.GetSessionCookie parses an attacker-supplied cookie chunk count and calls make([]string, count) with no upper bound before any token validation occurs. The function is reached on every request to an OAuth-protected proxy share, allowing an unauthenticated remote attacker to trigger gigabyte-scale heap allocations per request, leading to process-level OOM termination or repeated goroutine panics. Both publicProxy and dynamicProxy are affected. Version 2.0.1 patches the issue.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:netfoundry:zrok:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openziti",
        "product": "zrok",
        "ranges": [
          "\u003c 2.0.1"
        ],
        "fixed_in": [
          "2.0.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade zrok to 2.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/openziti/zrok/releases/tag/v2.0.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
