{"cve":"CVE-2026-29061","nvd":{"published":"2026-03-06T05:16:40.903","modified":"2026-06-17T10:29:31.847","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-284"],"references":["https://github.com/Forceu/Gokapi/releases/tag/v2.2.3","https://github.com/Forceu/Gokapi/security/advisories/GHSA-q658-hfpg-35qc"],"products":["forceu:gokapi"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-29061","score":0.00121,"percentile":0.0186,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q658-hfpg-35qc","url":"https://osv.dev/vulnerability/GHSA-q658-hfpg-35qc","summary":"Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion","modified":"2026-03-23T04:56:08.870761058Z","packages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","ranges":["<2.2.3"],"fixed":["2.2.3"]}]},{"id":"GO-2026-4626","url":"https://osv.dev/vulnerability/GO-2026-4626","summary":"Gokapi has privilege escalation via incomplete API-key permission revocation on user rank demotion in github.com/forceu/gokapi","modified":"2026-03-23T04:53:17.634593Z","packages":[{"ecosystem":"Go","name":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}