Skip to content

CVE-2026-40303 zrok allows unauthenticated DoS via unbounded memory allocation in striped session cookie parsing

HighCVSS 7.5 EPSS 0.46%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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