Vulnerability
CVE-2026-30943
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.
4 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
GHSA-j6jp-78w8-34x6
Gokapi vulnerable to Privilege Escalation in File Replace
-
GO-2026-4696
Gokapi vulnerable to Privilege Escalation in File Replace in github.com/forceu/gokapi
-
SUSE-SU-2026:1042-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb