{"id":"CVE-2026-29061","state":"PUBLISHED","title":"Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion","description":"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.","publishedAt":"2026-03-06T04:45:15.404Z","updatedAt":"2026-03-06T16:06:23.367Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Forceu Gokapi"],"affected":[{"vendor":"Forceu","product":"Gokapi","versions":[{"version":"< 2.2.3","status":"affected"}]}],"references":["https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc","https://github.com/Forceu/Gokapi/releases/tag/v2.2.3"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/29xxx/CVE-2026-29061.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-29061","state":"PUBLISHED","datePublished":"2026-03-06T04:45:15.404Z","dateUpdated":"2026-03-06T16:06:23.367Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-03T17:50:11.245Z"},"containers":{"cna":{"title":"Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Forceu","product":"Gokapi","versions":[{"version":"< 2.2.3","status":"affected"}]}],"references":[{"url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc","name":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.3","name":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","description":"CWE-284: Improper Access Control","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-06T04:45:15.404Z"},"source":{"advisory":"GHSA-q658-hfpg-35qc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-06T15:50:31.378374Z","id":"CVE-2026-29061","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-06T16:06:23.367Z"}}]}}}