The vulnerability exists in the WebDAV drive backend of zrok, where the davServer.Dir component fails to properly validate and handle symbolic links. This allows an attacker to create a symlink within the shared DriveRoot that points to a location outside of it. Consequently, the WebDAV consumer can read, write, or overwrite files on the host filesystem with the privileges of the zrok process. The patch mitigates this by introducing a new function, resolveBoundedPath, which is used by all the file operation functions (OpenFile, Stat, Mkdir, RemoveAll, Rename). This new function securely resolves file paths by checking for symlinks and ensuring they do not resolve to a path outside the intended DriveRoot. If a symlink escape is detected, it returns a permission error, thus preventing the path traversal vulnerability.