CVE-2026-29061 Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion
MediumCVSS 5.4
EPSS 0.13%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| forceu github.com/forceu/gokapi(Go) | < 2.2.3; All versions | 2.2.3 | Partially fixed |
| forceu github.com/forceu/gokapi | < 2.2.3; = < 2.2.3 | 2.2.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| forceu github.com/forceu/gokapi(Go) | < 2.2.3 | 2.2.3 |
| forceu github.com/forceu/gokapi(Go) | All versions | No fix listed |
| forceu github.com/forceu/gokapi | = < 2.2.3 | No fix listed |
| forceu github.com/forceu/gokapi | < 2.2.3 | 2.2.3 |
References
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.3 release-notes
- github.com