CVE-2025-52901: File Browser allows sensitive data to be transferred in URL

Published Jun 30, 2025
·
Updated

Summary

URLs that are accessed by a user are commonly logged in many locations, both server- and client-side. It is thus good practice to never transmit any secret information as part of a URL. The Filebrowser violates this practice, since access tokens are used as GET parameters.

Impact

The JSON Web Token (JWT) which is used as a session identifier will get leaked to anyone having access to the URLs accessed by the user. This will give the attacker full access to the user's account and, in consequence, to all sensitive files the user has access to.

Description

Sensitive information in URLs is logged by several components (see the following examples), even if access is protected by TLS.

The browser history The access logs on the affected web server Proxy servers or reverse proxy servers Third-party servers via the HTTP referrer header

In case attackers can access certain logs, they could read the included sensitive data.

Proof of Concept ##

When a file is downloaded via the web interface, the JWT is part of the URL:

http GET /api/raw/testdir/testfile.txt?auth=eyJh[...]r4EQ HTTP/1.1 Host: filebrowser.local:8080 User-Agent: Mozilla/5.0 (X11; Linux x8664; rv:128.0) Gecko/20100101 Firefox/128.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Connection: keep-alive Referer: http://filebrowser.local:8080/files/testdir/ Cookie: auth=eyJh[...]r4EQ Upgrade-Insecure-Requests: 1 Priority: u=0, i

This also happens when a new command session is started:

http GET /api/command/?auth=eyJh[...]YW8BA HTTP/1.1 Host: filebrowser.local:8080 User-Agent: Mozilla/5.0 (X11; Linux x8664; rv:128.0) Gecko/20100101 Firefox/128.0 Accept: / Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Sec-WebSocket-Version: 13 Origin: http://filebrowser.local:8080 Sec-WebSocket-Key: oqQMrF7R34D3lAkj1+ZHTw== Connection: keep-alive, Upgrade Cookie: auth=eyJh[...]YW8BA Pragma: no-cache Cache-Control: no-cache Upgrade: websocket

Recommended Countermeasures ##

Sensitive data like session tokens or user credentials should be transmitted via HTTP headers or the HTTP body only, never in the URL.

Timeline ##

2025-03-27 Identified the vulnerability in version 2.32.0 2025-04-11 Contacted the project 2025-04-29 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 in version 2.33.9

References ##

CWE-598: Use of GET Request Method With Sensitive Query Strings

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. Prior to version 2.33.9, access tokens are used as GET parameters. The JSON Web Token (JWT) which is used as a session identifier will get leaked to anyone having access to the URLs accessed by the user. This will give an attacker full access to a user's account and, in consequence, to all sensitive files the user has access to. This issue has been patched in version 2.33.9.

MITRE

Affected Software

3 affected componentsFixes available
go/github.com/filebrowser/filebrowser<=1.11.0
go/github.com/filebrowser/filebrowser/v2<2.33.9
2.33.9
Filebrowser Filebrowser<=2.33.0

Event History

Jun 30, 2025
Advisory Published
via GitHub·05:44 PM
Data Sourced
via GitHub·05:44 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·07:56 PM
Data Sourced
via MITRE·07:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-52901?

CVE-2025-52901 is considered a medium severity vulnerability due to the exposure of sensitive access tokens in URLs.

2

How do I fix CVE-2025-52901?

To fix CVE-2025-52901, update to the latest version of Filebrowser that is not impacted by this vulnerability.

3

What versions of Filebrowser are affected by CVE-2025-52901?

CVE-2025-52901 affects Filebrowser versions up to and including 1.11.0 and versions up to but not including 2.33.9.

4

What are the implications of CVE-2025-52901?

CVE-2025-52901 can lead to the accidental exposure of sensitive information if access tokens are logged or intercepted.

5

Is there a known workaround for CVE-2025-52901?

There is no specific workaround for CVE-2025-52901; the recommended action is to upgrade to a secure version.

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