Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/forceu/gokapi
  4. ›
  5. CVE-2026-29061

CVE-2026-29061: Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion

March 5, 2026

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.

References

  • github.com/Forceu/Gokapi
  • github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc
  • github.com/advisories/GHSA-q658-hfpg-35qc
  • nvd.nist.gov/vuln/detail/CVE-2026-29061

Code Behaviors & Features

Detect and mitigate CVE-2026-29061 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.3

Fixed versions

  • 2.2.3

Solution

Upgrade to version 2.2.3 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/github.com/forceu/gokapi/CVE-2026-29061.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 06 Mar 2026 12:18:22 +0000.