CVE-2026-30943: Gokapi has Privilege Escalation in File Replace
Vulnerability summary
CVE-2026-30943 is a medium (CVSS 4.1) Incorrect Authorization vulnerability in forceu gokapi. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.2% of scored vulnerabilities.
Not severe (CVSS 4.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 13-03-2026PublishedVulnerability first disclosed.
- 13-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated4.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
- NVDNIST4.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.20% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Forceu1 product
- gokapi< 2.2.4
Github.com/forceu1 product
- gokapi< 2.2.4 | All versions (No fix recorded)
2 vendors · 2 products
References
5 links- github.com/Forceu/Gokapi/security/advisories/GHSA-j6jp-78w8-34x6X Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/Forceu/GokapiPACKAGE