CVE-2026-45576
JSON

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 packageVersionsReported by
openziti zrok>= 0.4.23, < 2.0.3CVE List
github.com/openziti/zrok/v2 (Go)before 2.0.3GitHub Advisory Database, Go Vulnerability Database
github.com/openziti/zrok (Go)from 0.4.23 up to 1.1.11, from 0.4.23GitHub Advisory Database, Go Vulnerability Database
netfoundry zrokfrom 0.4.23 before 2.0.3NVD

All scores

GitHub_M8.3high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2026-45576 changed 2026-07-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-c656-jcx2-7pqj changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5315 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-45576 changed 2026-10-24Public domain