CVE-2026-40303 zrok allows unauthenticated DoS via unbounded memory allocation in striped session cookie parsing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openziti zrok(Go) | < 2.0.1; <= 1.1.11; All versions | 2.0.1 | Partially fixed |
| netfoundry zrok | < 2.0.1 | 2.0.1 | Fixed |
| openziti zrok | = < 2.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openziti zrok(Go) | <= 1.1.11 | No fix listed |
| openziti zrok(Go) | < 2.0.1 | 2.0.1 |
| openziti zrok(Go) | All versions | No fix listed |
| openziti zrok | = < 2.0.1 | No fix listed |
| netfoundry zrok | < 2.0.1 | 2.0.1 |
References
- https://github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/openziti/zrok/releases/tag/v2.0.1 release-notes
- github.com