{"schema_version":"1.7.3","id":"GHSA-q658-hfpg-35qc","published":"2026-03-05T20:42:32Z","modified":"2026-03-23T04:56:08.870761058Z","aliases":["CVE-2026-29061","GO-2026-4626"],"summary":"Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion","details":"### Summary\nA 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.\n\n### Impact\nAny 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:\n  - Create, list, and delete upload requests\n  - Read application logs and system status","affected":[{"package":{"name":"github.com/forceu/gokapi","ecosystem":"Go","purl":"pkg:golang/github.com/forceu/gokapi"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-q658-hfpg-35qc/GHSA-q658-hfpg-35qc.json"}}],"references":[{"type":"WEB","url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29061"},{"type":"PACKAGE","url":"https://github.com/Forceu/Gokapi"},{"type":"WEB","url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.3"}],"database_specific":{"cwe_ids":["CWE-284"],"github_reviewed":true,"github_reviewed_at":"2026-03-05T20:42:32Z","nvd_published_at":"2026-03-06T05:16:40Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}