{"schema_version":"1.7.5","id":"GHSA-45vh-rpc8-hxpp","published":"2026-03-13T18:56:51Z","modified":"2026-03-24T21:17:44.415132Z","aliases":["CVE-2026-30961","GO-2026-4695"],"summary":"Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload","details":"### Summary\n\nThe 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.\n\n### Impact\n\nAny guest with access to a shared file request link can upload files far larger than the administrator-configured size limit, up to the server's global `MaxFileSizeMB`. This allows unauthorized storage consumption, circumvention of administrative resource policies, and potential service disruption through storage exhaustion. No data exposure or privilege escalation occurs.","affected":[{"package":{"name":"github.com/forceu/gokapi","ecosystem":"Go","purl":"pkg:golang/github.com/forceu/gokapi"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.4"}]}],"database_specific":{"last_known_affected_version_range":"<= 2.2.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-45vh-rpc8-hxpp/GHSA-45vh-rpc8-hxpp.json"}}],"references":[{"type":"WEB","url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxpp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30961"},{"type":"PACKAGE","url":"https://github.com/Forceu/Gokapi"},{"type":"WEB","url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2026-4695"}],"database_specific":{"cwe_ids":["CWE-20","CWE-770"],"github_reviewed":true,"github_reviewed_at":"2026-03-13T18:56:51Z","nvd_published_at":"2026-03-13T19:54:35Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}