CVE-2026-30943
Description
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.
How to fix
- forceu gokapi2.2.4 or later
- github.com/forceu/gokapi2.2.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| forceu gokapi | v < 2.2.4 | 2.2.4 |
| github.com/forceu/gokapiGo | v < 2.2.4, No range specified | 2.2.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.