What’s Vulnerable › Vulnerabilities
CVE-2026-29061: Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-06 · updated 2026-06-17
- Weakness: CWE-284
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.
Affected products
- Forceu Gokapi: before 2.2.3 — fixed in 2.2.3
How to fix
Upgrade to a fixed version: Forceu Gokapi 2.2.3. Check the vendor advisory for mitigations.
References
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.3
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc
Get alerted when CVE-2026-29061 or the next vulnerability affects your stack