ADVISORIES

Vulnerability

CVE-2026-29061

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.

4 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Go 2openSUSE 2

Advisories in Go

  • GHSA-q658-hfpg-35qc

    Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion

    Moderate CVE-2026-29061 Go Updated 23 March 2026
  • GO-2026-4626

    Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion in github.com/forceu/gokapi

    CVE-2026-29061 Go Updated 23 March 2026

References