Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-45576
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:09 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 16 Jul 2026, 16:45 UTC

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.

osv:CVE-2026-45576
Complete source record
{
  "id": "6f15001f00239475f7ff954fddb1872a4ef8b1242c9f3e751fc3fa4cec2a0d8f",
  "url": "https://osv.dev/vulnerability/CVE-2026-45576",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2026-45576",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-45576",
      "aliases": [
        "CVE-2026-45576",
        "GHSA-c656-jcx2-7pqj",
        "GO-2026-5315"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openziti/zrok",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8d88e32d910986d49b576972d590398a6eb9a2cb"
                },
                {
                  "fixed": "01695e8ac32d5a3f35457a9f87ace076448e6917"
                },
                {
                  "fixed": "a5811e61589d2f804267c6de4a9056db1bdea457"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:netfoundry:zrok:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.4.23"
                      },
                      {
                        "fixed": "2.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a5811e61589d2f804267c6de4a9056db1bdea457"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "01695e8ac32d5a3f35457a9f87ace076448e6917"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.0.3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.11",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0-rc9",
            "v2.0.0-rc8",
            "v2.0.0-rc7",
            "v2.0.0-rc6",
            "v2.0.0-rc5",
            "v1.1.10",
            "v1.1.8",
            "v1.1.7",
            "v1.1.6",
            "v1.1.5",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.8",
            "v1.0.7",
            "v1.0.6",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.4.49",
            "v0.4.48",
            "v0.4.47",
            "v0.4.46",
            "v0.4.45",
            "v0.4.44",
            "v0.4.43",
            "v0.4.42",
            "v0.4.41",
            "v0.4.40",
            "v0.4.39",
            "v0.4.38",
            "v0.4.37",
            "v0.4.36",
            "v0.4.35",
            "v0.4.34",
            "v0.4.33",
            "v0.4.32",
            "v0.4.31",
            "v0.4.30",
            "v0.4.29",
            "v0.4.28",
            "v0.4.26",
            "v0.4.27",
            "v0.4.24",
            "v0.4.25",
            "v0.4.23"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45576.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.087138156Z",
      "provider": "osv",
      "references": [
        "https://github.com/openziti/zrok/releases/tag/v2.0.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45576.json",
        "https://github.com/openziti/zrok/security/advisories/GHSA-c656-jcx2-7pqj",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-45576",
        "https://github.com/openziti/zrok/commit/a5811e61589d2f804267c6de4a9056db1bdea457"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45576.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-45576",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492658,
  "published_at": "2026-07-16T16:45:52.766+00:00"
}