CVE-2026-40302: zrok is software for sharing web services, files, and network resources
CVE-2026-40302 is a medium-severity flaw (CVSS 6.1) affecting zrok. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
zrok is software for sharing web services, files, and network resources. Prior to version 2.0.1, the proxyUi template engine uses Go's text/template (which performs no HTML escaping) instead of html/template. The GitHub OAuth callback handlers in both publicProxy and dynamicProxy embed the attacker-controlled refreshInterval query parameter verbatim into an error message when time.ParseDuration fails, and render that error unescaped into HTML. An
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40302?
zrok: upgrade to 2.0.1. Exact commands for each OS are on this page.
Is CVE-2026-40302 being exploited?
CVE-2026-40302 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40302 affect?
CVE-2026-40302 affects zrok. Severity is medium (CVSS 6.1). zrok is software for sharing web services, files, and network resources. Prior to version 2.0.1, the proxyUi template engine uses Go's text/template (which performs no HTML escaping) instead of html/template. The GitHub OAuth callback handl
How urgent is CVE-2026-40302?
Priority 24/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-40303 HIGH 7.5 UPGRADE zrok is software for sharing web services, files, and network resources
- CVE-2026-40304 MEDIUM 5.3 UPGRADE zrok is software for sharing web services, files, and network resources
- CVE-2026-42275 HIGH 8.7 UPGRADE zrok is software for sharing web services, files, and network resources
- CVE-2026-45568 CRITICAL 9.1 UPGRADE zrok is software for sharing web services, files, and network resources
- CVE-2026-45576 HIGH 7.5 UPGRADE zrok is software for sharing web services, files, and network resources