What’s Vulnerable › Vulnerabilities
CVE-2026-30961: Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-13 · updated 2026-06-17
- Weakness: CWE-770
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 products
- Forceu Gokapi: before 2.2.4 — fixed in 2.2.4
How to fix
Upgrade to a fixed version: Forceu Gokapi 2.2.4. Check the vendor advisory for mitigations.
References
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.4
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxpp
Get alerted when CVE-2026-30961 or the next vulnerability affects your stack