Moderate severityNVD Advisory· Published Mar 13, 2026· Updated Mar 13, 2026
Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload
CVE-2026-30961
Description
Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to 2.2.4, the chunked upload completion path for file requests does not validate the total file size against the per-request MaxSize limit. An attacker with a public file request link can split an oversized file into chunks each under MaxSize and upload them sequentially, bypassing the size restriction entirely. Files up to the server's global MaxFileSizeMB are accepted regardless of the file request's configured limit. This vulnerability is fixed in 2.2.4.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/forceu/gokapiGo | < 2.2.4 | 2.2.4 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-45vh-rpc8-hxppghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-30961ghsaADVISORY
- github.com/Forceu/Gokapi/releases/tag/v2.2.4ghsax_refsource_MISCWEB
- github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxppghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2026-4695ghsaWEB
News mentions
0No linked articles in our index yet.