Description
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.
Problem types
CWE-284: Improper Access Control
Product status
References
github.com/...Gokapi/security/advisories/GHSA-q658-hfpg-35qc
github.com/Forceu/Gokapi/releases/tag/v2.2.3