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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.52% (percentile 86, 2026-11-26)
- **CWE:** CWE-190
- **Aliases:** GHSA-ffx7-75gc-jg7c, GO-2026-4713
- **Published:** 2026-03-16T20:43:29.000Z
- **Modified:** 2026-06-17T10:36:20.253Z

## Who should check

- Projects that depend on Go package github.com/filebrowser/filebrowser/v2 (\< 2.33.8)
- Projects that depend on Go package github.com/filebrowser/filebrowser
- Anyone running filebrowser \< 2.33.8

## 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.

## Affected and fixed versions

- Go `github.com/filebrowser/filebrowser/v2`: affected \< 2.33.8; fixed 2.33.8 (osv)
- Go `github.com/filebrowser/filebrowser`: affected see advisory; fixed no fix listed yet (osv)
- filebrowser: \< 2.33.8 (cvelist)

## Mitigation

- Upgrade github.com/filebrowser/filebrowser/v2 to 2.33.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-32759. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-32759.md
Affected: github.com/filebrowser/filebrowser/v2 < 2.33.8; github.com/filebrowser/filebrowser
Fixed in: 2.33.8

Steps:
1. Search this machine and project for github.com/filebrowser/filebrowser/v2 (Go), github.com/filebrowser/filebrowser (Go), filebrowser: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-32759 being exploited?

There is no confirmed exploitation: CVE-2026-32759 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-32759?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-32759?

github.com/filebrowser/filebrowser/v2 \< 2.33.8; github.com/filebrowser/filebrowser.

### Is there a fix for CVE-2026-32759?

Yes. Fixed in 2.33.8. Upgrade github.com/filebrowser/filebrowser/v2 to 2.33.8 or later.

### How do I check if I'm affected by CVE-2026-32759?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/filebrowser/filebrowser/security/advisories/GHSA-ffx7-75gc-jg7c>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-32759>
- other: <https://github.com/filebrowser/filebrowser/issues/5199>
- other: <https://github.com/filebrowser/filebrowser>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-32759>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ffx7-75gc-jg7c> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4713> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-32759> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-32759>
