{"cve":"CVE-2026-30961","nvd":{"published":"2026-03-13T19:54:35.903","modified":"2026-06-17T10:33:13.830","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3},"cwes":["CWE-770"],"references":["https://github.com/Forceu/Gokapi/releases/tag/v2.2.4","https://github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxpp"],"products":["forceu:gokapi"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-30961","score":0.00263,"percentile":0.18203,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-45vh-rpc8-hxpp","url":"https://osv.dev/vulnerability/GHSA-45vh-rpc8-hxpp","summary":"Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload","modified":"2026-03-24T21:17:44.415132Z","packages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","ranges":["<2.2.4"],"fixed":["2.2.4"]}]},{"id":"GO-2026-4695","url":"https://osv.dev/vulnerability/GO-2026-4695","summary":"Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload in github.com/forceu/gokapi","modified":"2026-03-23T04:52:56.702367Z","packages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}