CVE-2026-29061CWE-284

Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion

Medium · published March 6, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
4.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00152 · 4.0th percentile
Weakness
CWE-284 · Improper Access Control
Published
2026-03-06T04:45Z
EPSS history
Timeline
  • 06 MAR 04:45Z
    Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion
    cvelistv5