Skip to main content

zrok CVE-2026-42275

| EUVDEUVD-2026-28511 HIGH
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-05-08 GitHub_M GHSA-74m3-9qvm-rp9h
8.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Scan for public zrok WebDAV shares
  2. Delivery
    Enumerate shared directory via PROPFIND
  3. Exploit
    Identify symlink pointing outside DriveRoot
  4. Install
    Issue HTTP GET through symlink path
  5. C2
    Read sensitive files (/etc/shadow, ~/.ssh/id_rsa, app configs)
  6. Execute
    Issue HTTP PUT through symlink
  7. Impact
    Overwrite authorized_keys or cron jobs
  8. Step 8
    Achieve persistent access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
Exploitation Conditions

Exploitation requires that a symbolic link already exists inside the WebDAV-shared DriveRoot directory that points to a location outside that root. This symlink must be created through local filesystem access (shell, deployment scripts, application logic) prior to exploitation-attackers cannot create the symlink remotely via WebDAV itself. Additionally, the zrok share must be configured in public drive mode ('zrok share public --backend-mode drive [path]') which by default provides unauthenticated network access to the WebDAV endpoint. The zrok process must have filesystem permissions to read (for information disclosure) or write (for file overwrite attacks) the symlink target path. What LIMITS exploitation: Attack complexity is high (AC:H in CVSS) because the attacker cannot directly create the precondition symlink-it depends on local configuration or existing filesystem structure. Organizations sharing directories without pre-existing outbound symlinks and running zrok with restricted user permissions face significantly lower practical risk despite the high CVSS score. Environments using authenticated zrok share modes or containerized deployments with isolated filesystem namespaces add additional exploitation barriers.

Impact

Real-world risk is moderate despite the 8.7 CVSS score. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N accurately reflects network-based exploitation with high attack complexity due to the symlink precondition. The 'Changed' scope reflects boundary escape from WebDAV root to host filesystem. However, AC:H significantly constrains practical exploitation: attackers cannot directly create the required symlink via WebDAV-it must exist beforehand through local shell access, deployment automation, or application logic. This limits attack surface to environments where the shared directory already contains outbound symlinks (e.g., developers sharing entire home directories, containerized deployments mounting host paths with symlinks). No CISA KEV listing suggests exploitation is not widespread. EPSS score not provided but likely low given the niche product and high complexity. SSVC framework assessment: exploitation status is 'none' (no public evidence of active exploitation beyond disclosure), automatable is 'no' (requires precondition scanning), technical impact is 'total' (arbitrary file read/write). Priority should focus on zrok deployments exposing untrusted directories or running with elevated privileges. Organizations using default configurations with controlled share directories face lower immediate risk than CVSS suggests.

Exploit ScenarioDerived

An attacker discovers a publicly accessible zrok WebDAV share at https://share.example.com/drive/. Through reconnaissance (e.g., error message analysis, public documentation), they determine the share was created with 'zrok share public --backend-mode drive ~/shared-docs'. The attacker knows or guesses that ~/shared-docs contains a symlink (perhaps a convenience link like 'logs -> /var/log/app' created by a developer for debugging). The attacker issues a WebDAV PROPFIND request to enumerate the share, identifies the 'logs' symlink, then sends HTTP GET requests through that symlink path to read arbitrary system files like /etc/passwd or application configuration files with database credentials. Using PUT requests, the attacker overwrites ~/.ssh/authorized_keys on the host (if the zrok process runs as a user account) to inject their SSH public key, gaining persistent shell access. Publicly available exploit code exists per GitHub advisory GHSA-74m3-9qvm-rp9h which includes proof-of-concept exploitation steps.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Remote path traversal via symlink following in zrok's WebDAV drive backend allows unauthenticated network attackers to read arbitrary files accessible to the zrok process and overwrite critical system files (such as SSH authorized_keys) outside the intended share boundary. Attack complexity is high because exploitation requires a pre-existing symlink inside the shared directory pointing outside DriveRoot-a precondition typically created through local access or misconfiguration, not by the attacker. EPSS data not provided; no CISA KEV listing indicates targeted rather than widespread exploitation. Vendor-released patch available in version 2.0.2 with commit 459bcfc1e121decae1b1d11c37ad94e4ed5bbf2e implementing symlink boundary validation.

RemediationAI

Upgrade to zrok version 2.0.2 or later, available at https://github.com/openziti/zrok/releases/tag/v2.0.2. The patch implements symlink boundary validation in resolveBoundedPath() preventing traversal outside DriveRoot while preserving internal symlink functionality. For environments unable to upgrade immediately, implement these compensating controls with noted trade-offs: (1) Audit shared directories for symlinks pointing outside the share root using 'find [share-path] -type l -exec readlink -f {} \;' and remove outbound links (trade-off: breaks legitimate internal symlinks if application depends on them). (2) Run zrok processes under restricted user accounts with minimal filesystem permissions using principle of least privilege-limit read access to only necessary paths and deny write access to sensitive files like /etc, /root, user .ssh directories (trade-off: may break legitimate share functionality if files outside minimal set are needed). (3) Deploy zrok in containerized environments with read-only root filesystems and explicit volume mounts only for intended share paths using Docker --read-only and --tmpfs flags (trade-off: requires container orchestration changes and may conflict with applications expecting writable filesystem). (4) If using zrok in public share mode, add authentication using zrok's access control features rather than --backend-mode drive with default unauthenticated access (trade-off: changes user access workflow and may not prevent exploitation if authenticated users are untrusted). These mitigations reduce but do not eliminate risk; upgrade remains the definitive solution.

Affected VersionsENISA

zrok < 2.0.2

Affected Packages

go github.com/openziti/zrok no fix
go github.com/openziti/zrok/v2 fix: 2.0.2
euvd zrok fix: 2.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

zrok is an open-source software from OpenZiti for sharing web services, files, and network resources. The vulnerability resides in the WebDAV drive backend implementation (davServer.Dir) in Go. WebDAV is an HTTP extension protocol enabling collaborative file editing. The affected code uses lexical path normalization (filepath.Clean) to prevent directory traversal attacks but does not evaluate symbolic links before filesystem operations. When a symlink within the shared DriveRoot resolves to a path outside that root, operations like OpenFile, Stat, Mkdir, and RemoveAll follow the symlink without boundary validation. The root cause is CWE-61 (UNIX Symbolic Link Following), where the application trusts the filesystem abstraction layer without verifying that dereferenced paths remain within the security boundary. The fix introduces resolveBoundedPath(), which iteratively resolves path components with symlink loop protection (255-hop limit) and validates each resolution against the canonical DriveRoot using filepath.EvalSymlinks and isWithinRoot checks.

Know when Zrok gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
SUSE HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
May 08, 2026 - 05:01 EUVD
CVE Published
May 08, 2026 - 03:45 nvd
HIGH 8.7

DescriptionCVE.org

zrok is software for sharing web services, files, and network resources. Prior to version 2.0.2, the zrok WebDAV drive backend (davServer.Dir) restricts path traversal through lexical normalization but does not prevent symlink following. When a symbolic link inside the shared DriveRoot points to a location outside that root, remote WebDAV consumers can read files and-on shares without OS-level permission restrictions-write or overwrite files anywhere on the host filesystem accessible to the zrok process. This issue has been patched in version 2.0.2.

Executive ViewAI

Why It Matters

CVE-2026-42275 affects zrok's WebDAV drive backend, enabling unauthenticated attackers to read arbitrary files and overwrite critical system files like SSH authorized_keys if a symlink precondition exists within shared directories. Organizations using zrok for file sharing face potential unauthorized data access and system compromise, particularly in environments where symlinks may already be present due to misconfiguration or prior local access.

Business Impact: High
Compensating Controls

Vendor-released patch: zrok version 2.0.2. Until patched: restrict WebDAV share access to trusted networks only via firewall rules; disable WebDAV drive backend if not required; regularly audit and remove symlinks from shared directories; implement file integrity monitoring on sensitive system files (SSH authorized_keys, sudoers, etc.) accessible to zrok process; enforce principle of least privilege on zrok process user account.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy