CVE-2026-29061: Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion
Vulnerability summary
CVE-2026-29061 is a medium (CVSS 5.4) Improper Access Control vulnerability in forceu gokapi. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.5% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 06-03-2026PublishedVulnerability first disclosed.
- 06-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Forceu1 product
- gokapi< 2.2.3
Github.com/forceu1 product
- gokapi< 2.2.3 | All versions (No fix recorded)
2 vendors · 2 products
References
4 links- github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qcX Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/Forceu/GokapiPACKAGE