CVE-2026-30961

Publication date

2026-03-13 19:09:38

Family

GitHub_M

State

PUBLISHED

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 servers global MaxFileSizeMB are accepted regardless of the file requests configured limit. This vulnerability is fixed in 2.2.4.