Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-29060 EUVD-2026-9998GHSA-m2hx-wjxc-9fp4GO-2026-4615

Gokapi: Privilege escalation with auth token

Published Mar 6, 2026 · Updated Mar 6, 2026 · Assigned by GitHub_M

Description

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, a registered user without privileges to create or modify file requests is able to create a short-lived API key that has the permission to do so. The user must be registered with Gokapi. If there are no users with access to the admin/upload menu, there is no impact. This issue has been patched in version 2.2.3.

Affected products

VendorProductAffectedFixed
Forceu Gokapi < 2.2.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/forceu/gokapi < 2.2.3 2.2.3 GHSA-m2hx-wjxc-9fp4
Go github.com/forceu/gokapi all versions — GO-2026-4615

Advisories 2

References