{"id":"GHSA-c656-jcx2-7pqj","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.","aliases":["CVE-2026-45576","GO-2026-5315"],"modified":"2026-06-25T19:56:41.814683857Z","published":"2026-05-19T15:38:56Z","database_specific":{"github_reviewed_at":"2026-05-19T15:38:56Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/openziti/zrok/security/advisories/GHSA-c656-jcx2-7pqj"},{"type":"PACKAGE","url":"https://github.com/openziti/zrok"}],"affected":[{"package":{"name":"github.com/openziti/zrok/v2","ecosystem":"Go","purl":"pkg:golang/github.com/openziti/zrok/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-c656-jcx2-7pqj/GHSA-c656-jcx2-7pqj.json"}},{"package":{"name":"github.com/openziti/zrok","ecosystem":"Go","purl":"pkg:golang/github.com/openziti/zrok"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.23"},{"last_affected":"1.1.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-c656-jcx2-7pqj/GHSA-c656-jcx2-7pqj.json"}}],"schema_version":"1.9.0","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"}]}