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

CVE-2026-54096: File Browser: Improper Access Control Occurs via Pre-Created Public Share for a Non-existent Path

June 12, 2026

This is similar vulnrability of CVE-2026-0035, which was fixed in Android MediaProvider with high severity. In the original Java issue, MediaStore.createWriteRequest() accepted attacker-controlled URIs and created a future grant even when the referenced media item did not exist yet. The Android fix added an existence check before creating the request.

filebrowser/filebrowser has the analogous issue in Go. POST /api/share/<path> accepts an authenticated request for an arbitrary path and stores a public share record without checking whether the target file currently exists. Later, when a file is created at that same path, the previously created public share immediately becomes valid and exposes the new file through GET /api/public/dl/<hash>.

References

  • github.com/advisories/GHSA-3q2p-72cj-682c
  • github.com/filebrowser/filebrowser/commit/166583db632e088e9f0adce30aec43bb9d9019f4
  • github.com/filebrowser/filebrowser/releases/tag/v2.63.7
  • github.com/filebrowser/filebrowser/security/advisories/GHSA-3q2p-72cj-682c
  • nvd.nist.gov/vuln/detail/CVE-2026-54096

Code Behaviors & Features

Detect and mitigate CVE-2026-54096 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.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 12 Jul 2026 12:16:45 +0000.