CVE-2026-29061
mediumpriority · track · 22EPSS 0.001 · 2 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-q658-hfpg-35qcGokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion2026-03-05ghsa · osvUS
### Summary 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. ### Impact Any user who previously held Admin rank and had API keys with ApiPermManageFileRequests or ApiPermManageLogs retains those capabilities after demotion. This allows offboarded or demoted users to: - Create, list, and delete upload requests - Read application logs and system status
- GO-2026-4626Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion in github.com/forceu/gokapi2026-03-10vendor · osvUS
Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion in github.com/forceu/gokapi. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/forceu/gokapi before v2.2.3.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-29061cnnvd
- https://github.com/Forceu/Gokapi/releasesPatchcnnvd
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.3cnnvd
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qccnnvd
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.3enisa_euvd
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qcenisa_euvd
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.3Release Notesnvd
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qcVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan