Skip to main content
← All vulnerabilities
CVE-2026-30943GHSA-J6JP-78W8-34X6GO-2026-4696

Gokapi has Privilege Escalation in File Replace

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Forceu Gokapi

    fixed in 2.2.4

  • github.com/forceu/gokapiGo

    fixed in 2.2.4

  • github.com/forceu/gokapiGo

    All versions

References 2

GitHub · Forceu/Gokapi