Advisory

GHSA-c656-jcx2-7pqj

Also known as: CVE-2026-45576, GO-2026-5315

Summary

zrok copy writes attacker-controlled WebDAV paths outside the destination root

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-19 15:38 UTC
Modified
2026-06-25 19:56 UTC

Affected packages and fixes

github.com/openziti/zrok/v2

Go · All systems

Affected

  • introduced 0, fixed 2.0.3 (semver)

Fixed versions

2.0.3

Fix

github.com/openziti/zrok

Go · All systems

Affected

  • introduced 0.4.23, last affected 1.1.11 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences