Read the docs
TI-2026-23768 Aliases CVE-2026-30943GHSA-j6jp-78w8-34x6

Gokapi has Privilege Escalation in File Replace

Priority LOW 18CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00186 8th percentileScored 2026-11-07
Fix Fixed Gokapi (Forceu): 2.2.4github.com/forceu/gokapi (Go): 2.2.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ForceuGokapibefore 2.2.42.2.4Patch availableCNA
—github.com/forceu/gokapi (Go)before 2.2.42.2.4Patch availableGHSA-j6jp-78w8-34x6
  • Gokapi VendorForceu Affected before 2.2.4 Fixed in 2.2.4 Patch available CNA
  • github.com/forceu/gokapi (Go) Vendor— Affected before 2.2.4 Fixed in 2.2.4 Patch available GHSA-j6jp-78w8-34x6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:*before 2.2.4VulnerableForceu
  • cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:* Versions before 2.2.4 Vulnerable ·Forceu

Remediation

  • Fix · CNA Gokapi (Forceu) Fixed in 2.2.4
  • Fix · GHSA-j6jp-78w8-34x6 github.com/forceu/gokapi (Go) Fixed in 2.2.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-30943
  2. 2026-10-03 Alias added: GHSA-j6jp-78w8-34x6

References

  • TI-2026-22898 Gokapi: Stored XSS in SVG Hotlinks CVSS 3.1HIGH 8.7
  • TI-2026-23780 Gokapi vulnerable to DoS in E2E Metadata Parser CVSS 3.1MEDIUM 6.5
  • TI-2026-22897 Gokapi: Data Leak in Upload Status Stream CVSS 3.1MEDIUM 6.4
  • TI-2026-23206 Gokapi: Privilege escalation via incomplete API-key permission revocation on user rank demotion CVSS 3.1MEDIUM 5.4
  • TI-2026-23205 Gokapi: Privilege escalation with auth token CVSS 3.1MEDIUM 5.0
  • TI-2025-30774 Gokapi has stored XSS vulnerability in friendly name for API keys CVSS 4.0MEDIUM 4.8
See all 9 →

Sources