CVE-2026-28492 File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory

High 7.1 Published Updated

Attackers with a public share link can browse and download files from sibling directories due to incorrect filesystem root calculation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-28492?

CVE-2026-28492 is a high-severity path traversal vulnerability in filebrowser, published on 5 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.61.0, when a user creates a public share link for a directory, the withHashFile middleware in http/public.go uses filepath.Dir(link.Path) to compute the BasePathFs root. This sets the filesystem root to the parent directory instead of the shared directory itself, allowing anyone with the share link to browse and download files from all sibling directories. This issue has been patched in version 2.61.0.

Weakness: CWE-200

Which versions are affected by CVE-2026-28492?

4 open source packages ship an affected version, including github.com/filebrowser/filebrowser/v2 and github.com/filebrowser/filebrowser. It affects 1 product.

PackageAffectedFixed in
github.com/filebrowser/filebrowser/v2 GoAll versions2.61.0
github.com/filebrowser/filebrowser/v2 GoAll versions2.61.0
github.com/filebrowser/filebrowser/v2 GoAll versions2.61.0
github.com/filebrowser/filebrowser GoAll versionsNone

Products include Filebrowser Filebrowser.

How do I fix CVE-2026-28492?

Upgrade github.com/filebrowser/filebrowser/v2 to 2.61.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-28492 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28492 exists.

Sources

Also known as GHSA-mr74-928f-rw69, GO-2026-4585.

Is CVE-2026-28492 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free