# CVE-2026-45576: openziti zrok path traversal in zrok2 copy

Source: https://junglewise.ai/threats/cve-2026-45576-openziti-zrok-path-traversal-in-zrok2-copy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-16. Updated: 2026-07-16  
License: CC BY 4.0 with a link back

CVE-2026-45576 · Severity: high · CVSS 4 · Published 2026-07-16

zrok is a tool used for sharing files and web services over the internet. A security flaw in the 'zrok2 copy' command allows a malicious user to trick someone into downloading files that overwrite critical data outside of the intended folder. This could lead to the loss of sensitive information or the corruption of system files on the user's computer.

Technologies: [github.com/openziti/zrok (Go)](https://junglewise.ai/threats/technologies/github-com-openziti-zrok), [github.com/openziti/zrok/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-openziti-zrok-v2), [OpenZiti Zrok](https://junglewise.ai/threats/technologies/zrok). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [OpenZiti](https://junglewise.ai/threats/vendors/openziti).

## Quick answers

**Is CVE-2026-45576 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45576 being exploited in the wild.

**How severe is CVE-2026-45576?** High severity, with a CVSS score of 4, published 16 July 2026.

**Which products and versions are affected?** github.com/openziti/zrok (Go) >= 0.4.23, <= 1.1.11, SEMVER:introduced=0.4.23, SEMVER:introduced=0.4.23,last_affected=1.1.11; github.com/openziti/zrok/v2 (Go) < 2.0.3, SEMVER:introduced=0,fixed=2.0.3; OpenZiti Zrok < 2.0.3, >= 0.4.23, < 2.0.3.

**Is there a fix for CVE-2026-45576?** Yes. github.com/openziti/zrok/v2 (Go): upgrade to 2.0.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-45576 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-45576?** Check whether you run github.com/openziti/zrok (Go), github.com/openziti/zrok/v2 (Go) or OpenZiti Zrok at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/openziti/zrok/v2 (Go): upgrade to 2.0.3 or later

  ```sh
  go get github.com/openziti/zrok/v2@v2.0.3
  ```


## Technical details

A path traversal vulnerability (CWE-22) exists in the 'zrok2 copy' command of zrok. The issue stems from the application failing to sanitize WebDAV or zrok drive paths (e.g., using '/../') before passing them to the FilesystemTarget.WriteStream function. An attacker who controls a source share can provide malicious paths that the sync pipeline will use to write, remove, or modify files outside the user's selected local destination directory. Exploitation requires a user to initiate a copy operation from an attacker-controlled share. The vulnerability is fixed in version 2.0.3 by implementing root-confinement for local drive sync operations.

## Affected products

- openziti zrok >= 0.4.23, < 2.0.3

## Identifiers

- CVE-2026-45576
- GHSA-c656-jcx2-7pqj
- GO-2026-5315

## Timeline

- 2026-05-07: patched: Fix committed and version 2.0.3 released.
- 2026-05-13: advisory: GitHub Security Advisory published.
- 2026-07-16: disclosed: CVE-2026-45576 published to NVD.

## References

- [https://github.com/openziti/zrok/commit/a5811e61589d2f804267c6de4a9056db1bdea457](https://github.com/openziti/zrok/commit/a5811e61589d2f804267c6de4a9056db1bdea457)
- [https://github.com/openziti/zrok/releases/tag/v2.0.3](https://github.com/openziti/zrok/releases/tag/v2.0.3)
- [https://github.com/openziti/zrok/security/advisories/GHSA-c656-jcx2-7pqj](https://github.com/openziti/zrok/security/advisories/GHSA-c656-jcx2-7pqj)

## Related threats

- [OpenZiti zrok SSRF in Python SDK ProxyShare](https://junglewise.ai/threats/cve-2026-45568-openziti-zrok-ssrf-in-python-sdk-proxyshare)
- [OpenZiti zrok symlink following in WebDAV drive backend](https://junglewise.ai/threats/cve-2026-42275-openziti-zrok-symlink-following-in-webdav-drive-backend)
- [zrok: Broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records](https://junglewise.ai/threats/cve-2026-40304-zrok-broken-ownership-check-in-delete-api-v2-unaccess-allows-non)
- [zrok: Unauthenticated DoS via unbounded memory allocation in striped session cookie parsing](https://junglewise.ai/threats/cve-2026-40303-zrok-unauthenticated-dos-via-unbounded-memory-allocation-in)
- [zrok: Reflected XSS in GitHub OAuth callback via unsanitized refreshInterval error rendering](https://junglewise.ai/threats/cve-2026-40302-zrok-reflected-xss-in-github-oauth-callback-via-unsanitized)
