SCA: security update for github.com/forceu/gokapi (GHSA-j6jp-78w8-34x6)

medium Tenable Self-Hosted Container Security Plugin ID 438815

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, An insufficient authorization check in the file replace API allows a user with only list visibility
permission (UserPermListOtherUploads) to delete another user's file by abusing the deleteNewFile flag,
bypassing the requirement for UserPermDeleteOtherUploads. This vulnerability is fixed in 2.2.4.
(CVE-2026-30943)

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-j6jp-78w8-34x6

Plugin Details

Severity: Medium

ID: 438815

Version: Revision 1.8

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: Low

Base Score: 3.3

Temporal Score: 2.4

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

CVSS Score Source: CVE-2026-30943

CVSS v3

Risk Factor: Medium

Base Score: 4.1

Temporal Score: 3.6

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/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/13/2026

Vulnerability Publication Date: 3/13/2026

Reference Information

CVE: CVE-2026-30943

cwe: CWE-863