Security mailing lists by PureSourceCode

CVE-2026-30961

MEDIUM 4.3CVSS 3.1

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

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.

Published
13 Mar 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-20CWE-770
Also known as
GHSA-45vh-rpc8-hxppGO-2026-4695
Sources
NVDJSONOSV GHSA-45vh-rpc8-hxppJSONOSV GO-2026-4695JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD forceu gokapi
cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:*
< 2.2.4 2.2.4
OSV Go github.com/forceu/gokapi < 2.2.4 2.2.4
OSV Go github.com/forceu/gokapi all versions

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 13 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Mar 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.