Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/filebrowser/filebrowser/v2
  4. ›
  5. CVE-2026-32759

CVE-2026-32759: File Browser TUS Negative Upload-Length Fires Post-Upload Hooks Prematurely

March 16, 2026 (updated June 9, 2026)

The TUS resumable upload handler parses the Upload-Length header as a signed 64-bit integer without validating that the value is non-negative. When a negative value is supplied (e.g. -1), the first PATCH request immediately satisfies the completion condition (newOffset >= uploadLength –> 0 >= -1), causing the server to fire after_upload exec hooks with a partial or empty file. An authenticated user with upload permission can trigger any configured after_upload hook an unlimited number of times for any filename they choose, regardless of whether the file was actually uploaded - with zero bytes written.

References

  • github.com/advisories/GHSA-ffx7-75gc-jg7c
  • github.com/filebrowser/filebrowser/issues/5199
  • github.com/filebrowser/filebrowser/security/advisories/GHSA-ffx7-75gc-jg7c
  • nvd.nist.gov/vuln/detail/CVE-2026-32759

Code Behaviors & Features

Detect and mitigate CVE-2026-32759 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.33.8

Fixed versions

  • 2.33.8

Solution

Upgrade to version 2.33.8 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound
  • CWE-20: Improper Input Validation

Source file

go/github.com/filebrowser/filebrowser/v2/CVE-2026-32759.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:16:19 +0000.