CVE-2026-29061
published medium CVSS 3.1 · 5.4Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Forceu | — | Gokapi< 2.2.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Forceu | Gokapi | < 2.2.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-284 CWE-284: Improper Access Control
References
2Provider assertions
2GitHub_M · cna
Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9ff61b0c5363544795fbaf677e4c641a8b2100e0bb00a227f757516b58ff567c
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record