Resource exhaustion in Netfoundry Zrok
CVE-2026-40303
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 40.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Netfoundry Zrok
- Openziti Zrok — versions < 2.0.1
Weakness classification (CWE)
References
- https://github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9 (Vendor Advisory)
- https://github.com/openziti/zrok/releases/tag/v2.0.1 (Release Notes)