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.
- CVSS 3.1
- 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS
- 0.5% chance of exploitation in the next 30 days; higher than 39% of CVEs (scores of 2026-10-26)
- CWEs
- CWE-400, CWE-789
- Published
- Modified
- Record from
- the NVD, synced
Affected
- netfoundry:zrok
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-cpf9-ph2j-ccr9 | Go | github.com/openziti/zrok | <=1.1.11 | no fix published |
| GHSA-cpf9-ph2j-ccr9 | Go | github.com/openziti/zrok/v2 | <2.0.1 | 2.0.1 |
| GO-2026-5329 | Go | github.com/openziti/zrok | all versions | no fix published |
| GO-2026-5329 | Go | github.com/openziti/zrok/v2 | <2.0.1 | 2.0.1 |