Skip to main content
← All vulnerabilities
CVE-2026-29061GO-2026-4626GHSA-Q658-HFPG-35QC

Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Forceu Gokapi

    fixed in 2.2.3

  • github.com/forceu/gokapiGo

    All versions

  • github.com/forceu/gokapiGo

    fixed in 2.2.3

References 2

GitHub · Forceu/Gokapi