{"id":"CVE-2026-45576","published":"2026-07-16T16:45:52Z","modified":"2026-07-16T17:13:51Z","title":"zrok copy writes attacker-controlled WebDAV paths outside the destination root","vendor":"openziti","product":"zrok","tier":"tail","description":{"text":"zrok is software for sharing web services, files, and network resources. From 0.4.23 until 2.0.3, `zrok2 copy` stores attacker-controlled WebDAV or zrok drive paths such as /../outside.txt in the source inventory and passes them to FilesystemTarget.WriteStream, allowing the sync pipeline to write files outside the selected local filesystem destination root. This issue is fixed in version 2.0.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00496,"percentile":0.43465,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/openziti/zrok/security/advisories/GHSA-c656-jcx2-7pqj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openziti/zrok/commit/a5811e61589d2f804267c6de4a9056db1bdea457","tags":["x_refsource_MISC"]},{"url":"https://github.com/openziti/zrok/releases/tag/v2.0.3","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":8.69},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"openziti","affectedVersions":[{"vendor":"openziti","product":"zrok","versions":[">= 0.4.23, < 2.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-16T17:06:49.972811Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openziti/zrok/v2","vulnerableRanges":["<2.0.3"],"patched":["2.0.3"],"from":["GHSA-c656-jcx2-7pqj","GO-2026-5315"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/openziti/zrok","vulnerableRanges":[">=0.4.23, <=1.1.11",">=0.4.23"],"patched":[],"from":["GHSA-c656-jcx2-7pqj","GO-2026-5315"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the zrok product's copy component (the zrok2 copy sync pipeline) lets attacker-controlled WebDAV or zrok drive paths be stored and then written through FilesystemTarget.WriteStream, so files can land outside the selected local destination root. An unauthenticated remote attacker can exploit it, but only if a user interacts with the copy operation against an attacker-supplied source, as the attack requires user interaction and no prior authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:59Z"},"euvd":{"id":"EUVD-2026-44973","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-40303","published":"2026-04-17","fixed":"2.0.1","kev":false},{"cve":"CVE-2026-40304","published":"2026-04-17","fixed":"2.0.1","kev":false},{"cve":"CVE-2026-42275","published":"2026-05-08","fixed":"2.0.2","kev":false,"link":{"from":"CVE-2026-42275","to":"CVE-2026-45576","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/openziti/zrok/v2","fromFixed":"2.0.2","toFixed":"2.0.3","daysApart":69}]}},{"cve":"CVE-2026-45576","published":"2026-07-16","fixed":"2.0.3","kev":false}],"package":"Go:github.com/openziti/zrok/v2"}}