VYPR
Moderate severityNVD Advisory· Published Feb 9, 2026· Updated Feb 10, 2026

File Browser has an Authentication Bypass in User Password Update

CVE-2026-25889

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 2.57.1, a case-sensitivity flaw in the password validation logic allows any authenticated user to change their password (or an admin to change any user's password) without providing the current password. By using Title Case field name "Password" instead of lowercase "password" in the API request, the current_password verification is completely bypassed. This enables account takeover if an attacker obtains a valid JWT token through XSS, session hijacking, or other means. This vulnerability is fixed in 2.57.1.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/filebrowser/filebrowser/v2Go
< 2.57.12.57.1

Affected products

1

Patches

1
ff2f00498cff

fix: normalize fields capitalization

https://github.com/filebrowser/filebrowserHenrique DiasFeb 8, 2026via ghsa
1 file changed · +2 1
  • http/users.go+2 1 modified
    @@ -7,6 +7,7 @@ import (
     	"net/http"
     	"sort"
     	"strconv"
    +	"strings"
     
     	"github.com/gorilla/mux"
     	"golang.org/x/text/cases"
    @@ -190,7 +191,7 @@ var userPutHandler = withSelfOrAdmin(func(w http.ResponseWriter, r *http.Request
     		}
     
     		for _, field := range req.Which {
    -			if _, ok := sensibleFields[field]; ok {
    +			if _, ok := sensibleFields[strings.ToLower(field)]; ok {
     				if !users.CheckPwd(req.CurrentPassword, d.user.Password) {
     					return http.StatusBadRequest, fberrors.ErrCurrentPasswordIncorrect
     				}
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.