{"id":"CVE-2026-45576","aliases":["CVE-2026-45576","GHSA-c656-jcx2-7pqj","GO-2026-5315"],"related":[],"kind":"vulnerability","state":"published","title":"zrok copy writes attacker-controlled WebDAV paths outside the destination root","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"zrok copy writes attacker-controlled WebDAV paths outside the destination root in github.com/openziti/zrok","format":"markdown","source":"go"},{"lang":"es","text":"zrok es un software para compartir servicios web, archivos y recursos de red. Desde la versión 0.4.23 hasta la 2.0.3, el comando ’zrok2 copy’ almacena rutas de unidades WebDAV o zrok controladas por el atacante, como /.. / outside.txt, en el inventario de origen y las pasa a FilesystemTarget.WriteStream, permitiendo que la canalización de sincronización escriba archivos fuera de la raíz de destino del sistema de archivos local seleccionada. Este problema se ha solucionado en la versión 2.0.3.","source":"nvd"}],"published":"2026-05-19T15:38:56.000Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 0.4.23, < 2.0.3","status":"affected"}],"vendor":"openziti","product":"zrok","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.3"}],"ecosystem":"Go","package":"github.com/openziti/zrok/v2","purl":"pkg:golang/github.com/openziti/zrok/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.4.23","status":"affected","lastAffected":"1.1.11"}],"ecosystem":"Go","package":"github.com/openziti/zrok","purl":"pkg:golang/github.com/openziti/zrok","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.4.23","status":"affected"}],"ecosystem":"Go","package":"github.com/openziti/zrok","purl":"pkg:golang/github.com/openziti/zrok","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.3"}],"ecosystem":"Go","package":"github.com/openziti/zrok/v2","purl":"pkg:golang/github.com/openziti/zrok/v2","source":"go"},{"ranges":[{"status":"affected","introduced":"0.4.23","fixed":"2.0.3"}],"vendor":"netfoundry","product":"zrok","cpe":"cpe:2.3:a:netfoundry:zrok:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openziti/zrok/security/advisories/GHSA-c656-jcx2-7pqj","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/openziti/zrok/commit/a5811e61589d2f804267c6de4a9056db1bdea457","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openziti/zrok/releases/tag/v2.0.3","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openziti/zrok","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-16T17:06:49.972Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45576","url":"https://www.cve.org/CVERecord?id=CVE-2026-45576","licence":"CVE Terms of Use","modified":"2026-07-16T17:13:51.105Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c656-jcx2-7pqj","url":"https://github.com/advisories/GHSA-c656-jcx2-7pqj","licence":"CC-BY-4.0","modified":"2026-06-25T19:56:36.501Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5315","url":"https://pkg.go.dev/vuln/GO-2026-5315","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:30.542Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45576","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45576","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.403Z","epss":{"score":0.00496,"percentile":0.35449,"date":"2026-11-30T12:00:22.000Z"}}