SecurityContext

CVE-2026-40303: zrok - Denial of Service

  • Cve: CVE-2026-40303
  • Name: zrok - Denial of Service
  • 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.
  • Impact: Unauthenticated attackers can cause process crashes or denial of service via large memory allocations.
  • Remediation: Update to version 2.0.1 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00461
  • Epss percentile: 0.40723
  • Assignee: [email protected]
  • Published at: 2026-04-17T21:16:35Z
  • Age in days: 221
  • Modified at: 2026-10-26T22:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40303
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

References

UrlSourceTags
https://github.com/openziti/zrok/security/advisories/GHSA-cpf9-ph2j-ccr9nvdVendor Advisory
https://github.com/openziti/zrok/releases/tag/v2.0.1nvdRelease Notes

Products

ProductAffectedPlatform boundSourcesUrl
netfoundry:zrok< 2.0.1nonvd/v1/products/netfoundry/zrok

Projects

RepositoryLink kindsIndexedUrl
openziti/zrokpackage, releases, security_advisoryyes/v1/repositories/openziti/zrok

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts