CVE-2026-45576: zrok copy writes attacker-controlled WebDAV paths outside the destination root
Summary Alice 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.
Published May 19, 2026
Affected packages
github.com/openziti/zrok/v2
- Ecosystem
- Go
- Affected
- < 2.0.3
- Fixed in
- 2.0.3
- Check
go list -m github.com/openziti/zrok/v2
github.com/openziti/zrok
- Ecosystem
- Go
- Affected
- >= 0.4.23, <= 1.1.11
- Fixed in
- No patched version yet
- Check
go list -m github.com/openziti/zrok
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Alice 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.
Impact
Users 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.
Credited to aisafe-bot.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-42275
zrok: WebDAV drive backend follows symlinks outside DriveRoot, enabling host filesystem read/write
high8.7No fixApr 25, 2026CVE-2026-40302
zrok: Reflected XSS in GitHub OAuth callback via unsanitized refreshInterval error rendering
medium6.1No fixApr 16, 2026CVE-2026-40303
zrok: Unauthenticated DoS via unbounded memory allocation in striped session cookie parsing
high7.5No fixApr 16, 2026CVE-2026-40304
zrok: Broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records
medium5.3No fixApr 16, 2026
