{"id":"CVE-2026-40303","published":"2026-04-17T21:01:51Z","modified":"2026-04-20T16:19:07Z","title":"zrok allows unauthenticated DoS via unbounded memory allocation in striped session cookie parsing","vendor":"openziti","product":"zrok","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00461,"percentile":0.40822,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openziti/zrok/releases/tag/v2.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.16},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"openziti","affectedVersions":[{"vendor":"openziti","product":"zrok","versions":["< 2.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-20T16:18:59.334800Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openziti/zrok","vulnerableRanges":["<=1.1.11","all versions"],"patched":[],"from":["GHSA-cpf9-ph2j-ccr9","GO-2026-5329"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/openziti/zrok/v2","vulnerableRanges":["<2.0.1"],"patched":["2.0.1"],"from":["GHSA-cpf9-ph2j-ccr9","GO-2026-5329"],"provenance":"source"}],"summary":{"text":"A flaw in the zrok product's endpoints.GetSessionCookie function, which parses striped session cookies, lets the function allocate memory based on an attacker-supplied chunk count with no upper bound before any token validation occurs. An unauthenticated remote attacker can exploit it by sending requests to an OAuth-protected proxy share (on both the public and dynamic proxy paths) with no user interaction, causing gigabyte-scale allocations that can crash the process or repeatedly panic goroutines.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:31Z"},"euvd":{"id":"EUVD-2026-23550","exploited":false,"provenance":"source"}}