CVE-2025-52900: File Browser has Insecure File Permissions

Published Jun 26, 2025
·
Updated

Summary ##

The file access permissions for files uploaded to or created from File Browser are never explicitly set by the application. The same is true for the database used by File Browser. On standard servers where the umask configuration has not been hardened before, this makes all the stated files readable by any operating system account.

Impact ##

The default permissions for new files on a standard Linux system are 0644, making them world-readable. That means that at least the following parties have full read access to all files managed by the Filebrowser from all scopes, as well as its database (including the password hashes stored in there):

All OS accounts on the server All other applications running on the same server Any Filebrowser user with Command Execution privileges having access to a command that allows reading a file's content

Vulnerability Description ##

On a Linux system, the file access permissions of new files are designated by the system wide umask setting, unless they are configured manually. Most distributions set this value to 022 by default which gives every account on the system read permissions on the file.

bash $ umask 022 $ touch foo $ ls -l foo -rw-r--r-- 1 sba sba 0 31. Mär 15:08 foo

Proof of Concept ##

Upload or create a file in the Filebrowser GUI and list the directory contents from a shell:

bash $ ls -l /srv/filebrowser/testdir total 12 -rw-r--r-- 1 sba sba 7703 Mar 25 16:07 dummy1.pdf -rw-r--r-- 1 sba sba 3 Mar 25 15:46 testfile.txt

The same can be validated for Docker based deployments within the container:

bash $ docker exec -it e0f075082a2c ls /srv/testdir -l total 12 -rw-r--r-- 1 1000 1000 7703 Mar 25 15:07 dummy1.pdf -rw-r--r-- 1 1000 1000 3 Mar 25 14:46 testfile.txt

Furthermore, the database used by the Filebrowser application is readable by any account:

bash $ ls -l /srv/filebrowser/filebrowser.db -rw-rw-r-- 1 sba sba 65536 Mar 25 09:58 /srv/filebrowser/filebrowser.db

Recommended Countermeasures ##

Since the system's umask configuration cannot be controlled by the Filebrowser, the application needs to set the permissions of all new files manually upon creation. No permissions should be given to the other category.

Implementing this won't fix the permissions for active instances after an update, so site administrators will need to fix the permissions manually:

bash $ chmod o-rwx -R /srv/filebrowser/datadir

Timeline ##

2025-03-25 Identified the vulnerability in version 2.32.0 2025-04-11 Contacted the project 2025-04-18 Vulnerability disclosed to the project 2025-06-25 Uploaded advisories to the project's GitHub repository 2025-06-26 CVE ID assigned by GitHub 2025-06-26 Fix released with version 2.33.7

References ##

CWE-276: Incorrect Default Permissions What is Umask and How To Setup Default umask Under Linux?

Credits ##

Mathias Tausig (SBA Research)

Other sources

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. The file access permissions for files uploaded to or created from File Browser are never explicitly set by the application. The same is true for the database used by File Browser. On standard servers using File Browser prior to version 2.33.7 where the umask configuration has not been hardened before, this makes all the stated files readable by any operating system account. Version 2.33.7 fixes the issue.

MITRE

Affected Software

4 affected componentsFixes available
File Browser File Browser<2.33.7
go/github.com/filebrowser/filebrowser<=1.11.0
go/github.com/filebrowser/filebrowser/v2<2.33.7
2.33.7
Filebrowser Filebrowser<2.33.7

Event History

Jun 26, 2025
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyAffected Software
Jun 27, 2025
Advisory Published
via GitHub·02:55 PM
Data Sourced
via GitHub·02:55 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-52900?

CVE-2025-52900 has been classified as a high severity vulnerability due to improper file access permissions.

2

How do I fix CVE-2025-52900?

To fix CVE-2025-52900, it is recommended to update File Browser to version 2.33.8 or later which addresses the permission settings.

3

What types of systems are affected by CVE-2025-52900?

CVE-2025-52900 affects installations of File Browser version up to 2.33.7 that allow file management functionalities.

4

What are the potential impacts of CVE-2025-52900?

The potential impacts of CVE-2025-52900 include unauthorized access to sensitive files and data exposure.

5

Is CVE-2025-52900 a remote code execution vulnerability?

No, CVE-2025-52900 is not a remote code execution vulnerability, but it does allow unauthorized file access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203