CVE-2026-30961
MEDIUM 4.3CVSS 3.1Gokapi'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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | forceu | gokapicpe: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
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.4 · Product, Release Notes, WEB
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxpp · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-30961 · ADVISORY
- https://github.com/Forceu/Gokapi · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-4695 · WEB
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)