Vulnerabilities in pkg:golang/github.com/openziti/zrok/v2
PACKAGECVE-2026-45576 is a HIGH zrok copy writes attacker-controlled webdav vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Github.com/openziti/zrok/v2 libraries in the Go ecosystem. The issue involves zrok copy writes attacker-controlled webdav paths outside the destination root. Remediation is available by upgrading affected packages to version 2.0.3.
pkg:golang/github.com/openziti/zrok/v2
Vulnerability advisories affecting package pkg:golang/github.com/openziti/zrok/v2. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-c656-jcx2-7pqj | CVE-2026-45576 | HIGH | zrok copy writes attacker-controlled WebDAV paths outside the destination root |
| GHSA-74m3-9qvm-rp9h | CVE-2026-42275 | HIGH | zrok: WebDAV drive backend follows symlinks outside DriveRoot, enabling host filesystem read/write |
| GHSA-3jpj-v3xr-5h6g | CVE-2026-40304 | MODERATE | zrok: Broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records |
| GHSA-cpf9-ph2j-ccr9 | CVE-2026-40303 | HIGH | zrok: Unauthenticated DoS via unbounded memory allocation in striped session cookie parsing |
| GHSA-4fxq-2x3x-6xqx | CVE-2026-40302 | MODERATE | zrok: Reflected XSS in GitHub OAuth callback via unsanitized refreshInterval error rendering |
CVE-2026-45576 at a Glance
How to Fix CVE-2026-45576
To remediate this vulnerability, upgrade all affected Github.com/openziti/zrok/v2 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/v2 to 2.0.3
Upgrade github.com/openziti/zrok to Latest secure release
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/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-45576, inspect your project dependencies for Github.com/openziti/zrok/v2:
inspect dependencies for github.com/openziti/zrok/v2
Analyze the terminal output to locate any version of Github.com/openziti/zrok/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.3), 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Github.com/openziti/zrok/v2, 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-45576 Affected Github.com/openziti/zrok/v2 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openziti/zrok/v2
|
Go |
< 2.0.3
|
2.0.3
|
|
github.com/openziti/zrok
|
Go |
≥ 0.4.23
≤ 1.1.11
|
|
References
Frequently Asked Questions
What is CVE-2026-45576?
Which Github.com/openziti/zrok/v2 versions are affected?
What version fixes CVE-2026-45576?
Is github.com/openziti/zrok/v2 affected?
Is github.com/openziti/zrok affected?
What CWE is associated with CVE-2026-45576?
How can I check Go dependencies for CVE-2026-45576?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c656-jcx2-7pqj",
"modified" : "2026-05-19T15:38:57Z",
"published" : "2026-05-19T15:38:56Z",
"aliases" : [ "CVE-2026-45576" ],
"summary" : "zrok copy writes attacker-controlled WebDAV paths outside the destination root",
"details" : "## Summary\n\nAlice runs `zrok2 copy` from a WebDAV or zrok drive controlled by Bob into a local filesystem target. Bob returns a DAV `href` such as `/../outside.txt`. The sync pipeline stores that path in the source inventory and passes it to `FilesystemTarget.WriteStream`, which joins it with the target root and creates the file outside Alice's selected directory.\n\n### Impact\nUsers given access to a zrok share may be able to traverse the directory tree arbitrarily with the sharing users credentials, allowing for sensitive information to be overwritten.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openziti/zrok/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openziti/zrok"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.4.23"
}, {
"last_affected" : "1.1.11"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openziti/zrok/security/advisories/GHSA-c656-jcx2-7pqj"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openziti/zrok"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-19T15:38:56Z",
"nvd_published_at" : null
}
}