{"id":"CVE-2026-30943","summary":"Gokapi has Privilege Escalation in File Replace","details":"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.","aliases":["GHSA-j6jp-78w8-34x6","GO-2026-4696"],"modified":"2026-04-10T05:42:02.737125Z","published":"2026-03-13T19:07:01.576Z","related":["SUSE-SU-2026:1042-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30943.json","cwe_ids":["CWE-863"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30943.json"},{"type":"ADVISORY","url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30943"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/forceu/gokapi","events":[{"introduced":"0"},{"fixed":"9a4b289c604198c05589e34314e889d2c25386d8"}]}],"versions":["v1.0","v1.0.1","v1.1.0","v1.1.2","v1.1.3","v1.2.0","v1.3.0","v1.3.1","v1.5.0-beta1","v1.5.1","v1.5.2","v1.6.0","v1.6.0-beta1","v1.6.1","v1.6.2","v1.7.0","v1.7.1","v1.7.2","v1.8.0","v1.8.0-beta.0","v1.8.1","v1.8.2","v1.8.3","v1.8.4","v1.9.0","v1.9.1","v1.9.2","v1.9.3","v1.9.4","v1.9.5","v1.9.6","v2.0.0","v2.0.0-beta1","v2.0.0-beta2","v2.0.1","v2.1.0","v2.2.0","v2.2.0-rc1","v2.2.1","v2.2.2","v2.2.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30943.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N"}]}