CVE-2026-42275: zrok WebDAV Drive Backend Follows Symlinks Vulnerability
HIGHCVE-2026-42275 is a HIGH (CVSS 8.7) webdav drive backend follows symlinks vulnerability (CWE-61: UNIX Symbolic Link (Symlink) Following) affecting zrok libraries in the Go ecosystem. The issue involves webdav drive backend follows symlinks outside driveroot, enabling host filesystem read/write. Remediation is available by upgrading affected packages to version 2.0.2.
CVE-2026-42275 at a Glance
Security Impact
CVSS: 8.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N).
How to Fix CVE-2026-42275
To remediate this vulnerability, upgrade all affected zrok dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openziti/zrok to Latest secure release
Upgrade github.com/openziti/zrok/v2 to 2.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openziti/zrok
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-42275, inspect your project dependencies for zrok:
inspect dependencies for github.com/openziti/zrok
Analyze the terminal output to locate any version of zrok in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-61: UNIX Symbolic Link (Symlink) Following, where the product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. this could allow an attacker to cause the product to operate on unauthorized files. In zrok, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-42275 Affected zrok Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openziti/zrok
|
Go |
≤ 1.1.11
|
|
|
github.com/openziti/zrok/v2
|
Go |
< 2.0.2
|
2.0.2
|
References
Frequently Asked Questions
What is CVE-2026-42275?
Which zrok versions are affected?
What version fixes CVE-2026-42275?
Is github.com/openziti/zrok affected?
Is github.com/openziti/zrok/v2 affected?
What is the CVSS score of CVE-2026-42275?
What CWE is associated with CVE-2026-42275?
How can I check Go dependencies for CVE-2026-42275?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-74m3-9qvm-rp9h",
"modified" : "2026-05-12T13:29:09Z",
"published" : "2026-04-25T23:34:35Z",
"aliases" : [ "CVE-2026-42275" ],
"summary" : "zrok: WebDAV drive backend follows symlinks outside DriveRoot, enabling host filesystem read/write",
"details" : "**Summary**\nThe zrok WebDAV drive backend (davServer.Dir) restricts path traversal through lexical normalization but does not prevent symlink following. When a symbolic link inside the shared DriveRoot points to a location outside that root, remote WebDAV consumers can read files and—on shares without OS-level permission restrictions—write or overwrite files anywhere on the host filesystem accessible to the zrok process.\n\n- Attack Vector: Network — exploitation is performed entirely over the WebDAV endpoint; the attacker issues HTTP requests to the public zrok share URL.\n- Attack Complexity: High — a precondition outside the attacker's direct control must hold: a symlink pointing outside DriveRoot must already exist within it (created locally, not via WebDAV).\n- Privileges Required: None — zrok share public --backend-mode drive exposes the WebDAV endpoint with no authentication by default.\n- User Interaction: None — once the symlink precondition is met, exploitation requires no user interaction.\n- Scope: Changed — the vulnerability allows an attacker to escape the WebDAV root (the security boundary) and access the broader host filesystem.\n- Confidentiality Impact: High — arbitrary files readable by the zrok process can be retrieved.\n- Integrity Impact: High — the WebDAV PUT handler opens files with O_RDWR|O_CREATE|O_TRUNC, meaning symlink targets outside DriveRoot can be overwritten (e.g. ~/.ssh/authorized_keys).\n- Availability Impact: None — no direct availability impact.\n\nAffected Components\n\n- drives/davServer/file.go — Dir.OpenFile (line 140), Dir.Stat (line 176), Dir.Mkdir (line 133), Dir.RemoveAll (line 151)\n- endpoints/drive/backend.go — NewBackend (line 51–52)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openziti/zrok"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.1.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openziti/zrok/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openziti/zrok/security/advisories/GHSA-74m3-9qvm-rp9h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42275"
}, {
"type" : "WEB",
"url" : "https://github.com/openziti/zrok/commit/459bcfc1e121decae1b1d11c37ad94e4ed5bbf2e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openziti/zrok"
}, {
"type" : "WEB",
"url" : "https://github.com/openziti/zrok/releases/tag/v2.0.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-61" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-25T23:34:35Z",
"nvd_published_at" : "2026-05-08T04:16:22Z"
}
}