CVE-2026-30943 PUBLISHED

Gokapi has Privilege Escalation in File Replace

Assigner: GitHub_M
Reserved: 07.03.2026 Published: 13.03.2026 Updated: 13.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
CVSS Score: 4.1

Product Status

Vendor Forceu
Product Gokapi
Versions
  • Version < 2.2.4 is affected

References

Problem Types

  • CWE-863: Incorrect Authorization CWE