{"id":"CVE-2026-30943","published":"2026-03-13T19:07:01Z","modified":"2026-03-13T19:40:38Z","title":"Gokapi has Privilege Escalation in File Replace","vendor":"Forceu","product":"Gokapi","tier":"tail","description":{"text":"Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to 2.2.4, An insufficient authorization check in the file replace API allows a user with only list visibility permission (UserPermListOtherUploads) to delete another user's file by abusing the deleteNewFile flag, bypassing the requirement for UserPermDeleteOtherUploads. This vulnerability is fixed in 2.2.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00194,"percentile":0.09224,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4","tags":["x_refsource_MISC"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":1.84},{"name":"CVSS severity","points":2.87}]},"vendorSlug":"forceu","affectedVersions":[{"vendor":"Forceu","product":"Gokapi","versions":["< 2.2.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-13T19:40:28.442954Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/forceu/gokapi","vulnerableRanges":["<2.2.4","all versions"],"patched":["2.2.4"],"from":["GHSA-j6jp-78w8-34x6","GO-2026-4696"],"provenance":"source"}],"summary":{"text":"Gokapi, a self-hosted file sharing server, contains an insufficient authorization check in its file replace API that allows a user with only the list-other-uploads permission to delete another user's file. An attacker who holds that low-privilege account can abuse the deleteNewFile flag to bypass the delete-other-uploads permission requirement, and exploitation requires an authenticated account on the server with the list permission.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:42Z"},"euvd":{"id":"EUVD-2026-12075","exploited":false,"provenance":"source"}}