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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-04-16T21:09:08.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-cpf9-ph2j-ccr9, GO-2026-5329
- Weaknesses: CWE-400, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openziti zrok: < 2.0.1
- github.com/openziti/zrok (Go): up to 1.1.11; all versions
- github.com/openziti/zrok/v2 (Go): before 2.0.1
- netfoundry zrok: before 2.0.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9> (advisory, vendor-advisory, web)
- <https://github.com/openziti/zrok/releases/tag/v2.0.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40303> (advisory)
- <https://github.com/openziti/zrok> (package)

## Sources

- CVE List: [CVE-2026-40303](https://www.cve.org/CVERecord?id=CVE-2026-40303), CVE Terms of Use, modified 2026-04-20
- GitHub Advisory Database: [GHSA-cpf9-ph2j-ccr9](https://github.com/advisories/GHSA-cpf9-ph2j-ccr9), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5329](https://pkg.go.dev/vuln/GO-2026-5329), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40303](https://nvd.nist.gov/vuln/detail/CVE-2026-40303), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40303 · Whole record: https://cve.day/CVE-2026-40303.json · Rebuilt by cve.day 2026-11-25T22:59:18.969Z
