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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc
Release Notes x_refsource_misc
https://github.com/Forceu/Gokapi/releases/tag/v2.2.3
Scores
CVSS v3
5.4
EPSS
0.0012
EPSS Percentile
1.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-284
Status
published
Products (2)
forceu/gokapi
< 2.2.3
forceu/gokapi
0 - 2.2.3Go
Published
Mar 06, 2026
Tracked Since
Mar 06, 2026