{"id":"CVE-2026-29061","aliases":["GHSA-q658-hfpg-35qc","GO-2026-4626"],"url":"https://o3.security/vulnerability/CVE-2026-29061","summary":"Gokapi: 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","published":"2026-03-06T04:45:15.404Z","modified":"2026-08-12T03:51:24.817501676Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00116,"percentile":0.01797,"asOf":"2026-08-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","fixedVersion":"2.2.3"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29061.json"},{"type":"ADVISORY","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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:24.817501676Z"}}