ZeroHour

CVE-2026-91144

moderate

Share-Link Path Traversal Allows Arbitrary File Downloads in ZFile through 5.0.5

CVSS 4.0
8.7 high
EPSS
Published
()
Modified
AI analysis

ZFile, a self-hosted online file-storage and file-listing application, fails through version 5.0.5 to validate the file path supplied to its download endpoint against the entries a share link is permitted to serve. An attacker who has obtained any valid share link URL can substitute arbitrary path query parameters and download any file stored under the shared base directory, bypassing the intended per-link access restrictions. This is an authorization bypass on direct object references (CWE-639) that exposes confidential files without requiring authentication to the application or any user interaction. Any deployment running ZFile 5.0.5 or earlier that exposes share links to untrusted parties is affected. The flaw carries a CVSS 4.0 score of 8.7 (high); it is not in CISA's KEV catalog, no public proof of concept is known, and no exploitation has been observed.

What to do: Upgrade ZFile to the latest available release, since all versions through 5.0.5 are affected and no fixed version below that exists. Until patched, disable or revoke existing share links so untrusted holders cannot reach the download endpoint, and place the instance behind an access-restricted reverse proxy or VPN. Review download logs and server-side file access for anomalous path parameters on the download endpoint to rule out prior abuse.

Affected
ZFile (zhaojun) ZFilethrough 5.0.5
Estimated exposure
moderate≈ low thousands of internet-exposed self-hosted instances (rough order of magnitude, no authoritative count) — ZFile is a self-hosted open-source file-sharing server typically deployed by individuals and small organizations with the download endpoint reachable over the internet, and public scan engines historically show only low-thousands of…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

ZFile through 5.0.5 fails to validate requested file paths against a share link's allowed entries on the download endpoint. Attackers holding a share link can supply arbitrary file paths as query parameters to download any file under the shared base directory, bypassing the intended access restrictions.

Weakness
CWE-639
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.