CVE-2026-45576
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk42th percentile - higher than 42% of all known CVEs
Summary
A vulnerability in zrok (versions 0.4.23 through 2.0.3) allows an attacker to write files outside the selected local destination root via attacker-controlled WebDAV or zrok drive paths like /../outside.txt. The issue is fixed in version 2.0.3.
Risk Assessment
An attacker can overwrite or place malicious files anywhere on the filesystem, potentially leading to privilege escalation, unauthorized code execution, or data integrity compromise.
Recommendation
Immediately upgrade zrok to version 2.0.3 or later. If upgrading is not possible, restrict trust in WebDAV and zrok drive sources.
Other vulnerabilities in zrok
See all- CVE-2026-45568Critical
A vulnerability in zrok before version 2.0.3 allows an attacker to pass an absolute URL in the request path to the Flask proxy route of the Python SDK. The urllib.parse.urljoin function enables replacing the configured target host, causing the server to make a request to an attacker-chosen URL.
- CVE-2026-40304Medium
zrok prior to version 2.0.1 contains a logical error in the ownership guard in the unaccess handler (controller/unaccess.go): when a frontend record has environment_id = NULL (the marker for admin-created global frontends), the condition short-circuits to false and allows deletion without ownership verification. A non-admin user who knows a global frontend token can permanently delete the global frontend, causing all public shares routed through it to become unavailable.
- CVE-2026-40302Medium
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 (no HTML escaping) instead of html/template, and the GitHub OAuth callback handlers in publicProxy and dynamicProxy embed the attacker-controlled refreshInterval parameter unescaped into an error message. An attacker can deliver a crafted login URL so that, after the victim completes the GitHub OAuth flow, the callback page executes arbitrary JavaScript in the OAuth server's origin.
Original NVD description (English source)
zrok is software for sharing web services, files, and network resources. From 0.4.23 until 2.0.3, `zrok2 copy` stores attacker-controlled WebDAV or zrok drive paths such as /../outside.txt in the source inventory and passes them to FilesystemTarget.WriteStream, allowing the sync pipeline to write files outside the selected local filesystem destination root. This issue is fixed in version 2.0.3.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

