CVE-2026-30961: Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload
Vulnerability summary
CVE-2026-30961 is a medium (CVSS 4.3) vulnerability in forceu gokapi. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.2% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 13-03-2026PublishedVulnerability first disclosed.
- 13-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 0.28% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Forceu1 product
- gokapi< 2.2.4
Github.com/forceu1 product
- gokapi< 2.2.4 | All versions (No fix recorded)
2 vendors · 2 products
References
5 links- github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxppX Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/Forceu/GokapiPACKAGE