All reports
High

zrok copy writes attacker-controlled WebDAV paths outside the destination root

Affected versions

Version ranges need review.

Affected versions
<2.0.3
Fixed version
2.0.3
Affected versions
< 2.0.3
Fixed version
2.0.3
Affected versions
>= 0.4.23, <= 1.1.11
Fixed version
Not reported
Affected versions
>=0.4.23
Fixed version
Not reported

Exploitation

CVE-2026-45576

Probability of exploitation in the next 30 days: 0.50%

FIRST EPSS · 2026-11-20

Description

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.

Links

Credits

  • aisafe-bot