CVE-2026-30961

Source
https://cve.org/CVERecord?id=CVE-2026-30961
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30961.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-30961
Aliases
Published
2026-03-13T19:09:38.427Z
Modified
2026-03-15T14:54:26.036156Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Gokapi's File Request MaxSize Limit Bypassed via Multi-Chunk Upload
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30961.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Git / github.com/forceu/gokapi

Affected ranges

Type
GIT
Repo
https://github.com/forceu/gokapi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0
v1.0.1
v1.1.0
v1.1.2
v1.1.3
v1.2.0
v1.3.0
v1.3.1
v1.5.0
v1.5.0-beta1
v1.5.1
v1.5.2
v1.6.0
v1.6.0-beta1
v1.6.1
v1.6.2
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.0-beta.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.9.0
v1.9.1
v1.9.2
v1.9.3
v1.9.4
v1.9.5
v1.9.6
v2.*
v2.0.0
v2.0.0-beta1
v2.0.0-beta2
v2.0.1
v2.1.0
v2.2.0
v2.2.0-rc1
v2.2.1
v2.2.2
v2.2.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30961.json"