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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.10%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T20:43:29.000Z
- Modified: 2026-06-17T10:36:20.253Z
- Also known as: GHSA-ffx7-75gc-jg7c, GO-2026-4713
- Weaknesses: CWE-20, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. In versions on the 2.x branch prior to 2.33.8, the TUS resumable upload handler parses the Upload-Length header as a signed 64-bit integer without validating that the value is non-negative, allowing an authenticated user to supply a negative value that instantly satisfies the upload completion condition upon the first PATCH request. This causes the server to fire after_upload exec hooks with empty or partial files, enabling an attacker to repeatedly trigger any configured hook with arbitrary filenames and zero bytes written. The impact ranges from DoS through expensive processing hooks, to command injection amplification when combined with malicious filenames, to abuse of upload-driven workflows like S3 ingestion or database inserts. Even without exec hooks enabled, the negative Upload-Length creates inconsistent cache entries where files are marked complete but contain no data. All deployments using the TUS upload endpoint (/api/tus) are affected, with the enableExec flag escalating the impact from cache inconsistency to remote command execution. This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations. To exploit this vulnerability, the instance administrator must turn on a feature and ignore all the warnings about known vulnerabilities.

(As written by CVE List.)

## Affected

- filebrowser filebrowser: < 2.33.8; up to 2.61.2
- github.com/filebrowser/filebrowser/v2 (Go): before 2.33.8; all versions
- github.com/filebrowser/filebrowser (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/filebrowser/filebrowser/security/advisories/GHSA-ffx7-75gc-jg7c> (exploit, advisory, vendor-advisory, web)
- <https://github.com/filebrowser/filebrowser/issues/5199> (issue-tracking, report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32759> (advisory)
- <https://github.com/filebrowser/filebrowser> (package)

## Sources

- CVE List: [CVE-2026-32759](https://www.cve.org/CVERecord?id=CVE-2026-32759), CVE Terms of Use, modified 2026-06-09
- GitHub Advisory Database: [GHSA-ffx7-75gc-jg7c](https://github.com/advisories/GHSA-ffx7-75gc-jg7c), CC-BY-4.0, modified 2026-06-09
- Go Vulnerability Database: [GO-2026-4713](https://pkg.go.dev/vuln/GO-2026-4713), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-32759](https://nvd.nist.gov/vuln/detail/CVE-2026-32759), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32759 · Whole record: https://cve.day/CVE-2026-32759.json · Rebuilt by cve.day 2026-11-25T22:59:16.238Z
