Vulnerability · Published Mar 13, 2026 · Assigned by GitHub_M

CVE-2026-30961Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload

Medium 4.3

In plain English

A medium-severity resource allocation without limits in Gokapi from Forceu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 81.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/forceu/gokapi2.2.4GHSA-45vh-rpc8-hxpp
Gogithub.com/forceu/gokapino fix listedGO-2026-4695

Affected products (as reported)

VendorProductVersions
Forceu Gokapi < 2.2.4

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References