Henrique Dias 9bd79c3aae fix(http): delete abandoned TUS uploads through the scoped filesystem
The in-memory upload cache deleted expired incomplete uploads with a raw
os.Remove on the absolute path it had stored, bypassing ScopedFs entirely.
Because the stored path is only lexically cleaned (no symlink evaluation) and
os.Remove resolves symlinked parent directories, a Create-only user could
register an upload and then, within the 3-minute TTL, swap an in-scope
ancestor directory for a symlink so the eviction deleted an arbitrary file
outside their scope.

Carry a removal callback with each cache entry and invoke it on eviction
instead of os.Remove. For TUS uploads the callback deletes via the uploading
user's scoped filesystem, whose Remove is guarded by the same within() check
that CVE-2026-55667 added, so eviction can no longer follow a symlink out of
scope. The redis backend ignores the callback (it never deleted partial files).

Refs GHSA-m9f5-2232-frp6
2026-07-25 08:16:18 +02:00
2026-07-25 07:25:26 +02:00
2026-07-25 07:30:18 +02:00
2025-11-15 09:01:21 +01:00
2025-11-15 09:01:21 +01:00
2026-02-14 07:35:34 +01:00
2026-07-21 19:18:51 +02:00
2025-11-13 14:21:11 +01:00
2026-07-04 08:25:01 +02:00
2025-12-06 11:33:43 +01:00
2026-07-04 08:23:16 +02:00
2026-07-04 08:23:16 +02:00
2026-07-25 08:00:00 +02:00
2026-03-14 07:57:18 +01:00

Build Version

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview and edit your files. It is a create-your-own-cloud-kind of software where you can just install it on your server, direct it to a path and access your files through a nice web interface.

Documentation

Documentation on how to install, configure, and contribute to this project is hosted at filebrowser.org.

Project Status

This project is a finished product which fulfills its goal: be a single binary web File Browser which can be run by anyone anywhere. That means that File Browser is currently on maintenance-only mode. Therefore, please note the following:

  • It can take a while until someone gets back to you. Please be patient.
  • Issues are meant to track bugs. Unrelated issues will be converted into discussions.
  • The priority is triaging issues, addressing security issues and reviewing pull requests meant to solve bugs.
  • No new features are planned. Pull requests for new features will not be reviewed.

Please read @hacdias' personal reflection on the project status.

Contributing

Contributions are always welcome. To start contributing to this project, read our guidelines first.

License

Apache License 2.0 © File Browser Contributors

S
Description
File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview and edit your files.
Readme
108 MiB
0 Stars 1 Watchers 0 Forks