File Browser vulnerable to Username Enumeration via Timing Attack in /api/login
Description
File Browser provides a file managing interface within a specified directory and can be used to upload, delete, preview, rename, and edit files. Prior to version 2.55.0, the JSONAuth. Auth function contains a logic flaw that allows unauthenticated attackers to enumerate valid usernames by measuring the response time of the /api/login endpoint. The vulnerability exists due to a "short-circuit" evaluation in the authentication logic. When a username is not found in the database, the function returns immediately. However, if the username does exist, the code proceeds to verify the password using bcrypt (users.CheckPwd), which is a computationally expensive operation designed to be slow. This difference in execution path creates a measurable timing discrepancy. Version 2.55.0 contains a patch for the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/filebrowser/filebrowserGo | <= 1.11.0 | — |
github.com/filebrowser/filebrowser/v2Go | < 2.55.0 | 2.55.0 |
Affected products
8- Range: v1.0.0, v1.0.1, v1.0.2, …
- osv-coords7 versionspkg:apk/chainguard/filebrowserpkg:apk/chainguard/filebrowser-compatpkg:apk/wolfi/filebrowserpkg:apk/wolfi/filebrowser-compatpkg:golang/github.com/filebrowser/filebrowserpkg:golang/github.com/filebrowser/filebrowser/v2pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 2.56.0-r0+ 6 more
- (no CPE)range: < 2.56.0-r0
- (no CPE)range: < 2.56.0-r0
- (no CPE)range: < 2.56.0-r0
- (no CPE)range: < 2.56.0-r0
- (no CPE)range: <= 1.11.0
- (no CPE)range: < 2.55.0
- (no CPE)range: < 0.0.20260205T172317-150000.1.146.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-43mm-m3h2-3prcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-23849ghsaADVISORY
- github.com/filebrowser/filebrowser/commit/24781badd413ee20333aba5cce1919d676e01889ghsax_refsource_MISCWEB
- github.com/filebrowser/filebrowser/security/advisories/GHSA-43mm-m3h2-3prcghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.