8.3high
zrok copy writes attacker-controlled WebDAV paths outside the destination root
- Severity
- 8.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.50% (higher than 35% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-c656-jcx2-7pqjGO-2026-5315
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| openziti zrok | >= 0.4.23, < 2.0.3 | CVE List |
| github.com/openziti/zrok/v2 (Go) | before 2.0.3 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/openziti/zrok (Go) | from 0.4.23 up to 1.1.11, from 0.4.23 | GitHub Advisory Database, Go Vulnerability Database |
| netfoundry zrok | from 0.4.23 before 2.0.3 | NVD |
All scores
| GitHub_M | 8.3high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Go Vulnerability Database
zrok copy writes attacker-controlled WebDAV paths outside the destination root in github.com/openziti/zrok
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45576 changed 2026-07-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c656-jcx2-7pqj changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5315 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-45576 changed 2026-10-24 | Public domain |