{"id":"CVE-2026-30961","aliases":["CVE-2026-30961","GHSA-45vh-rpc8-hxpp","GO-2026-4695"],"related":[],"kind":"vulnerability","state":"published","title":"Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload in github.com/forceu/gokapi.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/forceu/gokapi before v2.2.4.","format":"markdown","source":"go"},{"lang":"es","text":"Gokapi es un servidor de intercambio de archivos autoalojado con soporte para expiración automática y cifrado. Antes de la versión 2.2.4, la ruta de finalización de carga por fragmentos para solicitudes de archivos no valida el tamaño total del archivo contra el límite MaxSize por solicitud. Un atacante con un enlace público de solicitud de archivo puede dividir un archivo de tamaño excesivo en fragmentos, cada uno por debajo de MaxSize, y cargarlos secuencialmente, eludiendo por completo la restricción de tamaño. Se aceptan archivos hasta el MaxFileSizeMB global del servidor, independientemente del límite configurado en la solicitud de archivo. Esta vulnerabilidad está corregida en la versión 2.2.4.","source":"nvd"}],"published":"2026-03-13T18:56:51.000Z","modified":"2026-06-17T10:33:13.830Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-770"],"affected":[{"ranges":[{"version":"< 2.2.4","status":"affected"}],"vendor":"Forceu","product":"Gokapi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.4"}],"ecosystem":"Go","package":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","source":"go"},{"ranges":[{"status":"affected","fixed":"2.2.4"}],"vendor":"forceu","product":"gokapi","cpe":"cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-45vh-rpc8-hxpp","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30961","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Forceu/Gokapi","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4695","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-13T19:39:04.794Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-30961","url":"https://www.cve.org/CVERecord?id=CVE-2026-30961","licence":"CVE Terms of Use","modified":"2026-03-13T19:39:14.146Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-45vh-rpc8-hxpp","url":"https://github.com/advisories/GHSA-45vh-rpc8-hxpp","licence":"CC-BY-4.0","modified":"2026-03-24T21:17:44.415Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4695","url":"https://pkg.go.dev/vuln/GO-2026-4695","licence":"CC-BY-4.0","modified":"2026-03-23T04:52:56.702Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-30961","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30961","licence":"Public domain","modified":"2026-06-17T10:33:13.830Z"}],"updatedAt":"2026-11-25T22:59:15.881Z","epss":{"score":0.00274,"percentile":0.21176,"date":"2026-12-01T12:00:22.000Z"}}