What’s Vulnerable › Vulnerabilities
CVE-2026-30943: Gokapi has Privilege Escalation in File Replace
- Severity: medium (CVSS 4.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-13 · updated 2026-06-17
- Weakness: CWE-863
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.
Affected products
- Forceu Gokapi: before 2.2.4 — fixed in 2.2.4
How to fix
Upgrade to a fixed version: Forceu Gokapi 2.2.4. Check the vendor advisory for mitigations.
References
- https://github.com/Forceu/Gokapi/releases/tag/v2.2.4
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6
Get alerted when CVE-2026-30943 or the next vulnerability affects your stack