Live threats

All CVEs / Forceu

CVE-2026-30961Forceu Gokapi

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
—
Auth required
Yes
Published
Mar 13, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gokapi.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/forceu/gokapi < 2.2.4 2.2.4 go get github.com/forceu/gokapi@v2.2.4
Go github.com/forceu/gokapi all no fixed version —

Per OSV / GitHub Advisories (GHSA-45vh-rpc8-hxpp, GO-2026-4695). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
forceugokapi< 2.2.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.