SCA: security update for github.com/forceu/gokapi (GHSA-q658-hfpg-35qc)

medium Tenable Self-Hosted Container Security Plugin ID 438436

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
version 2.2.3, a privilege escalation vulnerability in the user rank demotion logic allows a demoted
user's existing API keys to retain ApiPermManageFileRequests and ApiPermManageLogs permissions, enabling
continued access to upload-request management and log viewing endpoints after the user has been stripped
of all privileges. This issue has been patched in version 2.2.3. (CVE-2026-29061)

Solution

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

See Also

https://github.com/advisories/GHSA-q658-hfpg-35qc

Plugin Details

Severity: Medium

ID: 438436

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/6/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2026-29061

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/5/2026

Vulnerability Publication Date: 3/5/2026

Reference Information

CVE: CVE-2026-29061

cwe: CWE-284