Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/filebrowser/filebrowser
  4. ›
  5. CVE-2026-54094

CVE-2026-54094: File Browser: Symlink following lets scoped users read, overwrite, and share files outside their filebrowser scope

June 12, 2026

File Browser enforces per-user scope with afero.NewBasePathFs(afero.NewOsFs(), scope), set up in users/users.go. This blocks lexical ../ traversal, but it does not stop the HTTP file handlers from following symbolic links before they open, serve, write, share, or list a file. As a result, a scoped user — and in some cases an unauthenticated public-share recipient — can cross the intended scope boundary by following a symlink whose path is lexically inside their scope but whose target is outside it.

Two distinct shapes are covered here:

  • Variant 1 — symlink as the final path component. A symlink that lives inside the user’s scoped tree and points to a file under the server root but outside the scope. The handlers record the symlink (IsSymlink) but then resolve and operate on the target anyway.
  • Variant 2 — file or directory reached through a symlinked ancestor. A regular file requested through a symlinked directory.

Read, write (including TUS resumable uploads), share creation, and public-share serving are all affected.

References

  • github.com/advisories/GHSA-239w-m3h6-ch8v
  • github.com/filebrowser/filebrowser/commit/7c2c0a11b31b2bb214d741005a0b02b1764208b3
  • github.com/filebrowser/filebrowser/releases/tag/v2.63.14
  • github.com/filebrowser/filebrowser/security/advisories/GHSA-239w-m3h6-ch8v
  • nvd.nist.gov/vuln/detail/CVE-2026-54094

Code Behaviors & Features

Detect and mitigate CVE-2026-54094 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.11.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/filebrowser/filebrowser/CVE-2026-54094.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 11 Jul 2026 12:16:46 +0000.