CVE-2026-30961

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductForceu Gokapi
PublishedMar 13, 2026
First seenMar 13, 2026

How to fix

Update
  • forceu gokapi2.2.4 or later
  • github.com/forceu/gokapi2.2.4 or later

Affected products

ProductAffected versionsFixed in
forceu gokapiv < 2.2.42.2.4
github.com/forceu/gokapiGov < 2.2.4, No range specified2.2.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.