High severity7.5NVD Advisory· Published Apr 17, 2026· Updated Jun 17, 2026
CVE-2026-40303
CVE-2026-40303
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/openziti/zrokGo | <= 1.1.11 | — |
github.com/openziti/zrok/v2Go | < 2.0.1 | 2.0.1 |
Affected products
4- ghsa-coords3 versionspkg:golang/github.com/openziti/zrokpkg:golang/github.com/openziti/zrok/v2pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2016.0
<= 1.1.11+ 2 more
- (no CPE)range: <= 1.1.11
- (no CPE)range: < 2.0.1
- (no CPE)range: < 0.0.20260723T184607-160000.1.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-cpf9-ph2j-ccr9ghsaADVISORY
- github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-40303ghsaADVISORY
- github.com/openziti/zrok/releases/tag/v2.0.1nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.