CVE-2026-32759: File Browser TUS Negative Upload-Length Causes Premature Hook Execution

Summary

16/03/2026
No i
Moderate
5.3

CVE-2026-32759: File Browser TUS Negative Upload-Length Fires Post-Upload Hooks Prematurely. Affects github.com/filebrowser/filebrowser/v2 versions < 2.61.1. No fix is published. How to fix ↓

Also tracked for

The same CVE-2026-32759 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

File Browser is an open-source file management application that allows users to manage files and directories through a web interface. It supports various functionalities, including file uploads, downloads, and management through a TUS (resumable upload) protocol. The application is designed to be extensible, allowing users to configure hooks that execute after file uploads. However, a vulnerability in the TUS upload handler can lead to unintended behavior when handling negative upload lengths.

Vulnerability Detail

The vulnerability arises from the TUS resumable upload handler's failure to validate the 'Upload-Length' header as a non-negative integer. When a negative value is provided, such as '-1', the upload completion condition is satisfied immediately, allowing the server to execute 'after_upload' hooks with an empty or partial file. This can be exploited by an authenticated user with upload permissions, leading to the potential for denial of service, command injection amplification, and business logic abuse. The vulnerability is rooted in the signed comparison used in the completion check, which incorrectly allows negative upload lengths to trigger the hooks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can disable the execution of 'after_upload' hooks by setting the 'enableExec' flag to false in your configuration. This will prevent any hooks from being triggered until a proper fix is applied.

Conclusion

CVE-2026-32759 is a significant vulnerability in the File Browser's TUS upload handler that can lead to unintended execution of hooks with empty files. Users are advised to update to the latest patched version and consider disabling exec hooks as a temporary measure until a fix is applied.

See every vulnerability recorded for github.com/filebrowser/filebrowser/v2 →

Share this vulnerability

FAQ

The impact includes the potential for denial of service, command injection, and business logic abuse due to the ability to trigger hooks with empty file contents.

All deployments using the TUS upload endpoint in File Browser are affected, especially those with exec hooks enabled.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for this vulnerability is 5.3, indicating a moderate severity level.

Yes, you can disable the execution of 'after_upload' hooks by setting the 'enableExec' flag to false in your configuration.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/filebrowser/filebrowser/v2.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback