CVE-2026-29061
MEDIUM 5.4CVSS 3.1Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion
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.
- Published
- 6 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- GHSA-q658-hfpg-35qcGO-2026-4626
- Sources
- NVDJSONOSV GHSA-q658-hfpg-35qcJSONOSV GO-2026-4626JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | forceu | gokapicpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:* |
< 2.2.3 | 2.2.3 |
| OSV | Go | github.com/forceu/gokapi | < 2.2.3 | 2.2.3 |
| OSV | Go | github.com/forceu/gokapi | all versions |
References
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.3 · Release Notes, WEB
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-29061 · ADVISORY
- https://github.com/Forceu/Gokapi · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Mar 2026)