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

CVE-2026-35606: File Browser discloses text file content via /api/resources endpoint bypassing Perm.Download check

April 8, 2026

The resourceGetHandler in http/resource.go returns full text file content without checking the Perm.Download permission flag. All three other content-serving endpoints (/api/raw, /api/preview, /api/subtitle) correctly verify this permission before serving content. A user with download: false can read any text file within their scope through two bypass paths.

Confirmed on v2.62.2 (commit 860c19d).

References

  • github.com/advisories/GHSA-67cg-cpj7-qgc9
  • github.com/filebrowser/filebrowser
  • github.com/filebrowser/filebrowser/security/advisories/GHSA-67cg-cpj7-qgc9
  • nvd.nist.gov/vuln/detail/CVE-2026-35606

Code Behaviors & Features

Detect and mitigate CVE-2026-35606 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 before 2.63.1

Fixed versions

  • 2.63.1

Solution

Upgrade to version 2.63.1 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/filebrowser/filebrowser/v2/CVE-2026-35606.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 14 May 2026 00:19:04 +0000.