SCA: security update for github.com/forceu/gokapi (GHSA-45vh-rpc8-hxpp)

medium Tenable Self-Hosted Container Security Plugin ID 438804

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-30961)

Solution

Update the github.com/forceu/gokapi library and its related packages to version 2.2.4 or later.

See Also

https://github.com/advisories/GHSA-45vh-rpc8-hxpp

Plugin Details

Severity: Medium

ID: 438804

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/14/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P

CVSS Score Source: CVE-2026-30961

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/13/2026

Vulnerability Publication Date: 3/13/2026

Reference Information

CVE: CVE-2026-30961